PageRenderTime 24ms CodeModel.GetById 16ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/thirdparty/wtl/atlresce.h

http://crashrpt.googlecode.com/
C++ Header | 93 lines | 53 code | 23 blank | 17 comment | 1 complexity | f78c5f0db5b063f58be82eb6f6284010 MD5 | raw file
 1// Windows Template Library - WTL version 8.1
 2// Copyright (C) Microsoft Corporation. All rights reserved.
 3//
 4// This file is a part of the Windows Template Library.
 5// The use and distribution terms for this software are covered by the
 6// Common Public License 1.0 (http://opensource.org/licenses/cpl1.0.php)
 7// which can be found in the file CPL.TXT at the root of this distribution.
 8// By using this software in any fashion, you are agreeing to be bound by
 9// the terms of this license. You must not remove this notice, or
10// any other, from this software.
11
12#ifndef __ATLRESCE_H__
13#define __ATLRESCE_H__
14
15#pragma once
16
17#ifndef _WIN32_WCE
18	#error atlresCE.h is only for Windows CE
19#endif
20
21
22#ifdef RC_INVOKED
23#ifndef _INC_WINDOWS
24
25  #define VS_VERSION_INFO     1
26
27  #ifdef APSTUDIO_INVOKED
28    #define APSTUDIO_HIDDEN_SYMBOLS // Ignore following symbols
29  #endif // APSTUDIO_INVOKED
30
31  #ifndef WINVER
32    #define WINVER 0x0400   // default to Windows Version 4.0
33  #endif // !WINVER
34
35  #if !defined(WCEOLE_ENABLE_DIALOGEX)
36    #define DIALOGEX DIALOG DISCARDABLE
37  #endif
38
39  #include <commctrl.h>
40  #define  SHMENUBAR RCDATA
41
42  #if defined(SHELLSDK_MODULES_AYGSHELL)
43    #include <aygshell.h> 
44  #else
45    #define NOMENU                 0xFFFF
46    #define IDS_SHNEW              1
47    #define IDM_SHAREDNEW          10
48    #define IDM_SHAREDNEWDEFAULT   11
49  #endif
50  #ifndef I_IMAGENONE
51	#define I_IMAGENONE            (-2)
52  #endif
53
54  #include <windows.h>
55
56#endif // !_INC_WINDOWS
57#endif // RC_INVOKED
58
59#include "atlres.h"
60
61#ifdef APSTUDIO_INVOKED
62	#undef APSTUDIO_HIDDEN_SYMBOLS
63#endif // APSTUDIO_INVOKED
64
65// Visual Studio dialog editor bug fix
66#ifndef DS_FIXEDSYS 
67	#define DS_FIXEDSYS 0
68#endif
69
70#define IDC_INFOSTATIC 0xFFFE   // == IDC_STATIC -1
71
72///////////////////////////////////////////////////////////////////////////////
73// Smartphone and PPC 2005 Resource IDs
74
75// Command and associated string resource IDs
76#define ID_MENU_OK                      0xE790
77#define ID_MENU_CANCEL                  0xE791
78#define ID_MENU							0xE792
79#define ID_ACTION						0xE793
80#define ID_VIEW_FULLSCREEN              0xE802
81
82// MenuBar resource IDs
83#define ATL_IDM_MENU_DONE               0xE701
84#define ATL_IDM_MENU_CANCEL             0xE702
85#define ATL_IDM_MENU_DONECANCEL         0xE703
86
87// Default device MenuBar control ID and MenuBar resource ID
88#define ATL_IDW_MENU_BAR				0xE802  
89
90// SmartPhone spinned controls ID offset for CSpinCtrl
91#define ATL_IDW_SPIN_ID                 9999
92
93#endif // __ATLRESCE_H__