2002-09-03 Ren� M�ller Fonseca <fonseca@users.sourceforge.net>

* include/winuser.h (IDTRYAGAIN,IDCONTINUE): Add defines.
	Add WINVER guards for dialog box command id defines.
This commit is contained in:
Danny Smith 2002-09-03 22:29:11 +00:00
parent e4b0ebc1d3
commit 3573883f9d
2 changed files with 19 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2002-09-03 René Møller Fonseca <fonseca@users.sourceforge.net>
* include/winuser.h (IDTRYAGAIN,IDCONTINUE): Add defines.
Add WINVER guards for dialog box command id defines.
2002-09-03 Earnie Boyd <earnie@users.sf.net> 2002-09-03 Earnie Boyd <earnie@users.sf.net>
* include/wincon.h (GetConsoleWindow): Add _WIN32_WINNT >= 0x0500 guard. * include/wincon.h (GetConsoleWindow): Add _WIN32_WINNT >= 0x0500 guard.

View File

@ -693,15 +693,23 @@ extern "C" {
#define MB_NOFOCUS 0x00008000 #define MB_NOFOCUS 0x00008000
#define MB_TYPEMASK 15 #define MB_TYPEMASK 15
#define MB_TOPMOST 0x40000 #define MB_TOPMOST 0x40000
#define IDABORT 3
#define IDCANCEL 2
#define IDCLOSE 8
#define IDHELP 9
#define IDIGNORE 5
#define IDNO 7
#define IDOK 1 #define IDOK 1
#define IDCANCEL 2
#define IDABORT 3
#define IDRETRY 4 #define IDRETRY 4
#define IDIGNORE 5
#define IDYES 6 #define IDYES 6
#define IDNO 7
#if (WINVER >= 0x0400)
# define IDCLOSE 8
# define IDHELP 9
#endif
#if (WINVER >= 0x0500)
# define IDTRYAGAIN 10
# define IDCONTINUE 11
#endif
#define GWL_EXSTYLE (-20) #define GWL_EXSTYLE (-20)
#define GWL_STYLE (-16) #define GWL_STYLE (-16)
#define GWL_WNDPROC (-4) #define GWL_WNDPROC (-4)