ctrlhelper.h

Go to the documentation of this file.
00001 
00019 /*
00020  * $Id: ctrlhelper.h 10829 2008-08-26 07:47:17Z weiym $
00021  *
00022  *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, 
00023  *                     pSOS, ThreadX, NuCleus, OSE, and Win32.
00024  *
00025  *             Copyright (C) 2002-2008 Feynman Software.
00026  *             Copyright (C) 1999-2002 Wei Yongming.
00027  */
00028 
00029 #ifndef _MGUI_CTRL_CTRLHELPER_H
00030 #define _MGUI_CTRL_CTRLHELPER_H
00031  
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif  /* __cplusplus */
00036 
00056 typedef enum
00057 {
00061   SB_POLICY_ALWAYS,
00065   SB_POLICY_AUTOMATIC,
00068   SB_POLICY_NEVER
00069 } SBPolicyType;
00070 
00071 #define DF_3DBOX_NORMAL     0x0000
00072 #define DF_3DBOX_PRESSED    0x0001
00073 #define DF_3DBOX_STATEMASK  0x000F
00074 #define DF_3DBOX_NOTFILL    0x0000
00075 #define DF_3DBOX_FILL       0x0010
00076 
00091 MG_EXPORT void GUIAPI DisabledTextOutEx (HDC hdc, HWND hwnd, int x, int y, const char* szText);
00092 
00116 MG_EXPORT HWND CreateToolTipWin (HWND hParentWnd, int x, int y, 
00117                 int timeout_ms, const char* text, ...);
00118 
00137 MG_EXPORT void ResetToolTipWin (HWND hwnd, int x, int y, 
00138                 const char* text, ...);
00139 
00151 MG_EXPORT void DestroyToolTipWin (HWND hwnd);
00152 
00179 MG_EXPORT void GUIAPI NotifyParentEx (HWND hwnd, int id, int code, DWORD add_data);
00180 
00195 #define NotifyParent(hwnd, id, code) \
00196                 NotifyParentEx(hwnd, id, code, 0)
00197 
00208 typedef int (*STRCMP) (const char* s1, const char* s2, size_t n);
00209 
00210 MG_EXPORT int GUIAPI 
00211 DefaultPageProc (HWND hWnd, int message, WPARAM wParam, LPARAM lParam);
00212 
00219 #ifdef __cplusplus
00220 }
00221 #endif  /* __cplusplus */
00222 
00223 #endif /* _MGUI_CTRL_CTRLHELPER_H */
00224 
Generated on Thu Apr 7 15:58:31 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3