![]() |
|
#14
|
|||
|
|||
|
Thanks, Jackal / JMI,
that was another gross failure of my memory! I would have known that, since a CLICK is a message specific to Buttons, it must not be searched under WM_xxx (generic Windows messages), but under BM_xxx (Button messages). And that is in fact the place where it is documented by M$, in their SDK, along with other: Button Control Messages (BCM_GETIDEALSIZE, BCM_GETIMAGELIST, BCM_GETTEXTMARGIN,BCM_SETIMAGELIST, BCM_SETTEXTMARGIN) Button Control Notifications (BCN_HOTITEMCHANGE) Button Messages (BM_CLICK, BM_GETCHECK, BM_GETIMAGE, BM_GETSTATE,BM_SETCHECK, BM_SETIMAGE,BM_SETSTATE, BM_SETSTYLE) Button Notifications (BN_CLICKED,BN_DBLCLK, BN_DOUBLECLICKED, BN_KILLFOCUS,BN_SETFOCUS, BN_DISABLE, BN_HILITE, BN_PAINT,BN_PUSHED,BN_UNHILITE,BN_UNPUSHED) BM_CLICK is defined in winuser.h (for MSVC) as Code:
#define BM_CLICK 0x00F5 Code:
BM_CLICK equ 0F5h By the way, the site you dug out is very interesting, JMI! They (our chinese colleagues) are offering a full GUI (with some sources) multi-platform and not depending on GDI32/WIN32K... [EDIT JMI: Master bilbo: Slightly adjusted your post so that it didn't run outside the normal window view and all shows without the scroll sideways.] [EDIT bilbo: Thanks, JMI, I do not how could it happen!] Last edited by bilbo; 02-17-2005 at 16:21. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Where is the answered button? | Dreamer | General Discussion | 0 | 05-07-2015 18:22 |
| Does simulating click affect GetMessagePos()? | BlackWhite | General Discussion | 10 | 02-14-2015 02:54 |