Home > Software engineering >  MFC how to realize the mouse moved to the main window at the top of the area, the pop-up window dial
MFC how to realize the mouse moved to the main window at the top of the area, the pop-up window dial

Time:09-15

Implementation of the function: MFC how to realize the mouse moved to the main window at the top of the area, pop-up window dialog box, removed from the area dialog disappear
What a great god have a code? A good Demo, may add C currency

CodePudding user response:

It is best to have a ready-made Demo

CodePudding user response:

Suggest the building Lord move this problem to the MFC section, there are more likely to get answers,

CodePudding user response:

Thank you ~ ~ thank you ~ ~ thank you ~ ~

CodePudding user response:

HOOK the mouse? SetWindowsHookEx (WH_MOUSE_LL,... ); And then to judge the cursor position?
Or WM_MOUSEMOVE WM_MOUSEHOVER/WM_MOUSELEAVE

CodePudding user response:

Track the response to the mouse message

CodePudding user response:

Without a good Demo, only oneself write a Demo, if who want to see later, you can Call me!!!!!!

CodePudding user response:

http://v.youku.com/v_show/id_XNjA2Mjc2MDMy.html? F=19671095 & amp; O=1
This is a MFC dialog box imitation MFC to achieve 360 browser Demo

CodePudding user response:

http://www.pudn.com/downloads342/sourcecode/windows/control/combobox/detail1496208.html
Wince5.0 tq2440 + + (MFC) model used by VS2005 + Directx 9.0 B on wince a simple video player, play interface, menus, playlists, button, slider, based on the dialog box, can size, control the playlist

CodePudding user response:

_TrackMouseEvent ()/TME_NONCLIENT
TME_NONCLIENT
0 x00000010
The caller wants hover and leave notification for The nonclient areas. The notification is delivered as WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.

CodePudding user response:

"The main window at the top of the area" refers to the Caption dialog?
  • Related