Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-09-04 02:29:11 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2002-09-04 02:29:11 +0400
commit3573883f9d79e5e3b745894d5c04da456449502b (patch)
treee08e78c6700d954aafabfeb89e107a5378ce471a /winsup/w32api/include
parente4b0ebc1d39ce4835ffd6d94153d7840d50f6a9f (diff)
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.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r--winsup/w32api/include/winuser.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h
index ff012a756..098524456 100644
--- a/winsup/w32api/include/winuser.h
+++ b/winsup/w32api/include/winuser.h
@@ -693,15 +693,23 @@ extern "C" {
#define MB_NOFOCUS 0x00008000
#define MB_TYPEMASK 15
#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 IDCANCEL 2
+#define IDABORT 3
#define IDRETRY 4
+#define IDIGNORE 5
#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_STYLE (-16)
#define GWL_WNDPROC (-4)