CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2001
    Posts
    9

    VB Const For WM_NCMOUSELEAVE

    Hi,

    Could someone please tell me the VB6 declaration for the WM_NCMOUSELEAVE message.

    cheers

    Paul


  2. #2
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    Re: VB Const For WM_NCMOUSELEAVE

    I wasn't able to find the value, as it is a Windows 98 / 2000 only message.

    (Let me know if you find it and I'll include it in my EventHandler definition.)

    TIA,
    Duncan

    -------------------------------------------------
    Ex. Datis: Duncan Jones
    Merrion Computing Ltd
    http://www.merrioncomputing.com
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

  3. #3
    Join Date
    Mar 2001
    Posts
    9

    Re: VB Const For WM_NCMOUSELEAVE

    Gah,

    Is there any way to emulate this then?? I have figured out how to get the statusbar to change message on WM_NCMOUSEMOVE, but as there is no WM_NCMOUSELEAVE then how do you make the status bar go back to normal??

    Paul


  4. #4
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    Re: VB Const For WM_NCMOUSELEAVE

    Since the menu control is bounded by the non client frame on one side and the client area on the next, it should be possible to reset the status bar message if you get a WM_MOUSEMOVE or a WM_NCMOUSEMOVE where wParam &lt;&gt; HTMENU.

    hth,
    Duncan



    -------------------------------------------------
    Ex. Datis: Duncan Jones
    Merrion Computing Ltd
    http://www.merrioncomputing.com
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured