Desktop Functions: Smart Device Functions:
|
Search Results for "DFCS_" in [All]user32
DFCS_BUTTONCHECK = 0,
DFCS_BUTTONRADIOIMAGE = 1,
DFCS_BUTTONRADIOMASK = 2,
DFCS_BUTTONRADIO = 4,
DFCS_BUTTON3STATE = 8,
DFCS_BUTTONPUSH = 0x10,
DFCS_CAPTIONCLOSE = 0,
DFCS_CAPTIONMIN = 1,
DFCS_CAPTIONMAX = 2,
DFCS_CAPTIONRESTORE = 3,
DFCS_CAPTIONHELP = 4,
DFCS_MENUARROW = 0,
DFCS_MENUCHECK = 1,
DFCS_MENUBULLET = 2,
DFCS_MENUARROWRIGHT = 4,
DFCS_SCROLLUP = 0,
DFCS_SCROLLDOWN = 1,
DFCS_SCROLLLEFT = 2,
DFCS_SCROLLRIGHT = 3,
DFCS_SCROLLCOMBOBOX = 5,
DFCS_SCROLLSIZEGRIP = 8,
DFCS_SCROLLSIZEGRIPRIGHT = 0x10,
DFCS_ADJUSTRECT = 0x2000,
DFCS_INACTIVE = 0x100,
DFCS_PUSHED = 0x200,
DFCS_CHECKED = 0x400,
/// The background remains untouched. This flag can only be combined with DFCS_MENUARROWUP or DFCS_MENUARROWDOWN.
DFCS_TRANSPARENT = 0x800,
DFCS_HOT = 0x1000,
DFCS_FLAT = 0x4000,
DFCS_MONO = 0x8000 #define DFCS_MENUARROWUP 0x0008 /* scroll menu up */ #define DFCS_MENUARROWDOWN 0x0010 /* scroll menu down */ #define DFCS_INMENU 0x0040 /* modifier for DFC_MENU as captionbtn drawn in systemmenu */ #define DFCS_INSMALL 0x0080 /* modifier for DFC_MENU as captionbtn for WS_EX_TOOLWINDOW */ The buttons are drawn by vectors so to draw a "menu" close icon simply draw a DFCS_CAPTIONCLOSE button with the size of SM_CXMENUCHECK/SM_CYMENUCHECK. Constants2: DFCS_ |