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
and in windows.inc (for MASM32) as
Regards, bilbo
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!]