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

Search:

Type: Posts; User: dnarcistrinca

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    872

    Re: Edit Control of Toolbar

    There was a mistake from me, in fact with window subclassing it works, just that it should have been done with something like

    OriginalProcedure1 = (WNDPROC)SetWindowLongPtr(hWndEdit2,...
  2. Replies
    2
    Views
    872

    Edit Control of Toolbar

    Hello,

    I have a question regarding processing a WM_MOUSEMOVE or WM_MOUSEHOVER for an edit control whose parent is a toolbar; On the main window hWnd of the program, I have a toolbar hWndToolbar,...
  3. Replies
    6
    Views
    927

    Re: WM_TIMER message

    Hello,

    yes, something happens when modal dialog boxes are used..

    I tested again, this time using the Sleep function and it seems that WM_TIMER messages for a certain timer are now ignored...
  4. Replies
    6
    Views
    927

    Re: WM_TIMER message

    Ok, but how can the system send a new message if the previous one has not been processed yet (previous message still running at MessageBox until the message box is not closed by user..) ?

    In the...
  5. Replies
    6
    Views
    927

    WM_TIMER message's behavior

    Hello,

    I have a simple question regarding the WM_TIMER message. As I understand, messages for a certain Window Procedure are run one by one, as it is said in the book Programming Windows 5th ed....
  6. Re: UINT_PTR numbers among a program's identifiers..

    Ok, so it should be avoided even for popup menu items, because it might interfere with other identifiers when processing the WM_COMMAND message..
  7. Re: freeing memory in the WM_DESTROY message

    Ok, so basically would not cause any problem to the memory pool.
  8. UINT_PTR numbers among a program's identifiers..

    Hello,

    I have a simple question regarding the UINT_PTR passed as parameter to a InsertMenu function as in



    HMENU hM1;
    hM1 = GetMenu(hWnd);

    HMENU hM2;
  9. freeing memory in the WM_DESTROY message

    Hello,

    I have a question regarding the usual freeing of memory in the WM_DESTROY message of the main windows of the program, before calling the PostQuitMessage(0)..


    Is it any problem if...
  10. Replies
    4
    Views
    1,601

    Re: TCHAR type when UNICODE is On or Off

    Very good answers, both, I appreciate..Best, D. Narcis
  11. Replies
    4
    Views
    1,601

    TCHAR type when UNICODE is On or Off

    Hello All,


    I have a basic question regarding the TCHAR type; in the winnt.h file, the TCHAR is defined as

    typedef WCHAR TCHAR, *PTCHAR;

    if UNICODE is defined, and as

    typedef char...
Results 1 to 11 of 11


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)