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

Search:

Type: Posts; User: Igor Vartanov

Page 1 of 80 1 2 3 4

Search: Search took 0.13 seconds; generated 33 minute(s) ago.

  1. Re: WinInet callback not called when the main thread sleeps

    Asynchronous Example Application has main thread sleeping (well, waiting for event actuallly) alright.
  2. Re: Need opinion about proposal to set up a e-platform

    When you communicate with IT guys, you'd better avoid this sort of task definition. Creative, innovative, looking unique? You'd better take care of this yourselves, you and your friend. You need to...
  3. Replies
    6
    Views
    356

    Re: why my image don't return HBITMAP?

    I tell you that in case in one situation your code works fine an in another one it works wrong, then the problem can be solved by debugging, and you are the most suitable man to do the job, just...
  4. Replies
    6
    Views
    356

    Re: why my image don't return HBITMAP?

    And one more thing. Before starting your own frameworks it would be good to get some experience in using other frameworks recognized on the market. Reading the sources would let you learn a lot about...
  5. Replies
    6
    Views
    356

    Re: why my image don't return HBITMAP?

    I wonder how long it would take you to start living with that simple thought: nobody here knows what your code does and how you test its results. You provide no compilable project, no clear...
  6. Replies
    6
    Views
    356

    Re: why my image don't return HBITMAP?

    Your HICONfromHBITMAP explicitly deletes the bitmap passed in. What else would you expect?
  7. Replies
    2
    Views
    204

    Re: Segmentation fault in C++ program

    In case your Linux system is 64-bit, you must check your code for typical 64-bit flaws. This is EOVERFLOW that makes me think that.
  8. Replies
    10
    Views
    609

    Re: Double/wavy underline

    Have absolutely no idea. Fortunately, I don't do fancy GUI programing for many years. Lucky me. :)
  9. Replies
    4
    Views
    479

    Re: VC++6.0, Unicode, and ANSI strings

    You keep talking about CString while there is no such a class. There are CStringA and CStringW. Unicode-aware macros do you a favor and translate CString to CStringW, but for strict ANSI data you...
  10. Replies
    4
    Views
    479

    Re: VC++6.0, Unicode, and ANSI strings

    In case it works in ANSI for you, why bother to rebuild? Rebuild may make sense when you wish to move to a contemporary compiler, or multi-cultural /lingual support is required. If none of those is...
  11. Re: Does BeginPaint() erase the background?

    It looks like I always was misguided by the Spy++ log, as BeginPaint documentation says the function really sends WM_ERASEBKGND, and you and OReubens are right in this matter. However, the same...
  12. Replies
    2
    Views
    255

    Re: Why is this GUID decorated?

    If I remember correctly, initguid.h must be included to make this macro really define the guid.
  13. Re: Does BeginPaint() erase the background?

    Yep.
  14. Re: Does BeginPaint() erase the background?

    This is Spy++ log caught on Notepad window resize:


    <00270> 00130656 R WM_WINDOWPOSCHANGED
    <00271> 00130656 S WM_IME_NOTIFY dwCommand:IMN_SETCOMPOSITIONWINDOW dwCommand:0000000B dwData:00000000...
  15. Re: [win32] - avoid flicker and do a correct redraw

    I have no idea what your code does, so I have no answer to your question. If I were you, I would always fill the entire memDC with background color first, and only then painted the essential parts.
    ...
  16. Re: Does BeginPaint() erase the background?

    It does mean that WM_ERASEBKGND is sent independent prior to WM_PAINT, and only when it was handled properly (the handler returned non-zero) BeginPaint does not perform the erasure with the default...
  17. Replies
    5
    Views
    462

    Re: Basic Window wrapper

    Besides,



    while(GetMessage(&msg, myConsole.GetWindowHandle(), 0, 0)) {
    TranslateMessage(&msg);
    DispatchMessage(&msg);
    }
  18. Replies
    5
    Views
    462

    Re: Basic Window wrapper

    PostQuitMessage function


    But you pump your window messages only. Try use NULL instead of myConsole.GetWindowHandle().

    EDIT: Ah, and please make sure WM_DESTROY is really received. :)
  19. Re: [win32] - avoid flicker and do a correct redraw

    Your paint handler must do only a single operation with physical DC (ps.hdc): XxxBlt between your physical DC and memory DC. All the other operations must be done only in memory DC. This is what...
  20. Replies
    3
    Views
    300

    Re: Windows basic questions

    It does have to. This is what any sort of classification is about.


    Why don't you try that yourself?


    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stddef.h
    C:\Program...
  21. Re: [win32] - avoid flicker and do a correct redraw

    You need to understand the nature of flicker. Say at some moment you have your window painted right. Then on some reason a region appears invalid. Regular behavior under the circumstances implies...
  22. Replies
    5
    Views
    325

    Re: Multithreading

    It depends on your definition of "easiest", and probably lots of other aspects (compilers, platforms, frameworks, etc.) you don't mention now of, or even have an idea of until you get into some real...
  23. Re: C++ Semaphore, limit 2 instances at the same time

    Frankly, I can see no point in having number of threads more than the number allowed to execute simultaneously.
  24. Re: C++ Semaphore, limit 2 instances at the same time

    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\WinNT.h


    #define MAXIMUM_WAIT_OBJECTS 64 // Maximum number of wait objects



    WaitForMultipleObjects function
  25. Replies
    2
    Views
    263

    Re: MFC Window Minimize Issue

    The issue root cause is the window style, and indirectly, the way of minimizing.


    Window style. Any overlapped window normally minimizes like it does in your case. To completely disappear, it...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!


HTML5 Development Center