Constants.h
上传用户:hjw22cn
上传日期:2007-01-11
资源大小:192k
文件大小:1k
- #ifndef __CONSTANTS_H
- #define __CONSTANTS_H
- // user-defined messages
- const UINT UWM_CHANGEPAGE = WM_APP + 1;
- const UINT UWM_SHOWHIDEPAGE = WM_APP + 2;
- const UINT UWM_REFLECTMSGTOPAGE = WM_APP + 3;
- const UINT UWM_REFLECTMSGTODIALOG = WM_APP + 4;
- const UINT UWM_SHUTDOWN = WM_APP + 5;
- const UINT UWM_TEXTFORBOX1 = WM_APP + 6;
- const UINT UWM_TEXTFORBOX2 = WM_APP + 7;
- const UINT UWM_STATUSPAGEADDED = WM_APP + 8;
- const UINT UWM_STATUSPAGEDELETED = WM_APP + 9;
- const UINT UWM_STATUSPAGEUPDATED = WM_APP + 10;
- const UINT UWM_UPDATEIMAGELIST = WM_APP + 11;
- const UINT UWM_SAVETOLOG = WM_APP + 12;
- const UINT UWM_CLEARLISTBOXES = WM_APP + 13;
- const UINT UWM_CLEARLISTBOX1 = WM_APP + 14;
- const UINT UWM_CLEARLISTBOX2 = WM_APP + 15;
-
- const UINT UWM_LASTPOSSIBLEMSG = WM_APP + 3070;
- // message types for status message pages
- const int MAX_STATUSMSGS = 100;
- // message amplifiers
- const int PROC_AFTERREFLECTING = 1;
- const int PROC_BEFOREREFLECTING = 2;
- const int PROC_REFLECTOTHER = 3;
- const int nMAX_PAGES = 10;
- const int nLB_CLEAR = 0;
- const int nLB_LOG = 1;
- // error constants
- const int ASMERR_NULLAPPPAGE = -1;
- const int ASMERR_INDEXOUTOFRANGE = -2;
- #endif