Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: zorro59

Search: Search took 0.02 seconds.

  1. Replies
    11
    Views
    1,215

    Re: [gdi] Erasing Window

    Go it thanks!
  2. Replies
    11
    Views
    1,215

    Re: [gdi] Erasing Window

    Without any other library like gdi+. The aplication is designed for windows mobile
  3. Replies
    11
    Views
    1,215

    Re: [gdi] Erasing Window

    Yes,that is what i am trying. MSDN was very confuse, and i tought that the function saveDC it saves the capture of the window. An example of that different thing? :D
  4. Replies
    11
    Views
    1,215

    Re: [gdi] Erasing Window

    I need to save the image, am a bmp for example. I dont want to use GetPixel.
  5. Replies
    11
    Views
    1,215

    Re: [gdi] Erasing Window

    case WM_PAINT:
    {
    PAINTSTRUCT ps;
    HDC hdc = BeginPaint(hwnd, &ps);

    if (current_sel == 1) {

    if (saved == false)
    {
    reg = SaveDC(hdc);//salvez status, inainte de...
  6. Replies
    11
    Views
    1,215

    Re: [gdi] Erasing Window

    Edit now the window is erased, but i lose all the drawing =))
    The problem is with savedc / restoredc. Save dc returns 0.
  7. Replies
    11
    Views
    1,215

    [gdi] Erasing Window

    Hello everyone!
    My problem is this:


    case WM_PAINT:
    {
    PAINTSTRUCT ps;
    HDC hdc = BeginPaint(imagine_aux, &ps);
  8. Replies
    4
    Views
    2,405

    Re: Check if mouse was pressed

    Some help?
  9. Replies
    6
    Views
    1,717

    Re: Read string by words

    Thank you for help, here is the code that worked:


    #include "stdafx.h"
    #include <iostream>
    #include <string>
    #include <sstream>
    #include <fstream>

    using std::ifstream;
  10. Replies
    6
    Views
    1,717

    Re: Read string by words

    @Lindley
    Thanks for your quick message, I found out that std::string doesnt work with strtok.......Any example of conversion(I have no idea) ???
    This works:


    #include "stdafx.h"
    #include...
  11. Replies
    6
    Views
    1,717

    Re: Read string by words

    Sorry about code tags........
    Sorry, but I'll have to do mare reasearch regarding std::string ( what is the difference?).
    Here is the code now:

    #include "stdafx.h"
    #include <iostream>
    #include...
  12. Replies
    6
    Views
    1,717

    Read string by words

    I dont know how good you are going to undestand me:
    I made an encryption program. It uses space between 2 letteres. Now I want to use the generated string and read every word at a time and convert...
  13. Replies
    4
    Views
    2,405

    Re: Check if mouse was pressed

    Thanks for the info!
    This is the code I have now:

    #include <cstdlib>
    #include <iostream>
    #include <windows.h>
    // project >> project options >> include libwinmm don't forget to include that...
  14. Replies
    4
    Views
    2,405

    Check if mouse was pressed

    I need help with checking if right or left mouse was pressed.
    Here is the code I have so far....

    #include <cstdlib>
    #include <iostream>
    #include <windows.h>
    #include <mmsystem.h>
    #include...
Results 1 to 14 of 14


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center