50 #ifndef _MGUI_CTRL_CTRLHELPER_H 51 #define _MGUI_CTRL_CTRLHELPER_H 92 #define DF_3DBOX_NORMAL 0x0000 93 #define DF_3DBOX_PRESSED 0x0001 94 #define DF_3DBOX_STATEMASK 0x000F 95 #define DF_3DBOX_NOTFILL 0x0000 96 #define DF_3DBOX_FILL 0x0010 138 int timeout_ms,
const char* text, ...);
159 const char* text, ...);
218 #define NotifyParent(hwnd, id, code) \ 219 NotifyParentEx(hwnd, id, code, 0) 231 typedef int (*
STRCMP) (
const char* s1,
const char* s2,
size_t n);
SBPolicyType
Scroll bar display policies in scrolled window.
GHANDLE HDC
Handle to device context.
GHANDLE HWND
Handle to main window or control.
MG_EXPORT void GUIAPI DisabledTextOutEx(HDC hdc, HWND hwnd, int x, int y, const char *szText)
Outputs disabled (grayed) text.
int(* STRCMP)(const char *s1, const char *s2, size_t n)
Type of general strncmp function.
LONG_PTR LINT
Signed integer which has pointer precision.
UINT_PTR LPARAM
A type definition for the second message paramter.
MG_EXPORT HWND CreateToolTipWin(HWND hParentWnd, int x, int y, int timeout_ms, const char *text,...)
Creates a tool tip window.
UINT_PTR WPARAM
A type definition for the first message paramter.
DWORD_PTR DWORD
A unsigned long type definition for pointer precision.
LONG_PTR LRESULT
Signed result of message processing.
MG_EXPORT void ResetToolTipWin(HWND hwnd, int x, int y, const char *text,...)
Resets a tool tip window.
unsigned int UINT
A type definition for unsigned integer.
MG_EXPORT void DestroyToolTipWin(HWND hwnd)
Destroies a tool tip window.
MG_EXPORT void GUIAPI NotifyParentEx(HWND hwnd, LINT id, int code, DWORD add_data)
Sends a notification message to the parent.