1 /* NetHack 3.6  newres.h       $NHDT-Date: 1524689383 2018/04/25 20:49:43 $  $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.3 $ */
2 /*      Copyright (c) 2003 by Michael Allison              */
3 /* NetHack may be freely redistributed.  See license for details. */
4 
5 #ifndef __NEWRES_H__
6 #define __NEWRES_H__
7 
8 #if !defined(UNDER_CE)
9 #define UNDER_CE _WIN32_WCE
10 #endif
11 
12 #if defined(_WIN32_WCE)
13 #if !defined(WCEOLE_ENABLE_DIALOGEX)
14 #define DIALOGEX DIALOG DISCARDABLE
15 #endif
16 #include <commctrl.h>
17 #define SHMENUBAR RCDATA
18 #if (defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP)) \
19     && (_WIN32_WCE >= 300)
20 #include <aygshell.h>
21 #else
22 #define I_IMAGENONE (-2)
23 #define NOMENU 0xFFFF
24 #define IDS_SHNEW 1
25 
26 #define IDM_SHAREDNEW 10
27 #define IDM_SHAREDNEWDEFAULT 11
28 #endif
29 #endif // _WIN32_WCE
30 
31 #ifdef RC_INVOKED
32 #ifndef _INC_WINDOWS
33 #define _INC_WINDOWS
34 #include "winuser.h" // extract from windows header
35 #endif
36 #endif
37 
38 #ifdef IDC_STATIC
39 #undef IDC_STATIC
40 #endif
41 #define IDC_STATIC (-1)
42 
43 #endif //__NEWRES_H__
44