atlresce.h 2.3 KB
Newer Older
W
wangzuohuai 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
// Windows Template Library - WTL version 9.10
// Copyright (C) Microsoft Corporation, WTL Team. All rights reserved.
//
// This file is a part of the Windows Template Library.
// The use and distribution terms for this software are covered by the
// Microsoft Public License (http://opensource.org/licenses/MS-PL)
// which can be found in the file MS-PL.txt at the root folder.

#ifndef __ATLRESCE_H__
#define __ATLRESCE_H__

#pragma once

#ifndef _WIN32_WCE
	#error atlresCE.h is only for Windows CE
#endif


#ifdef RC_INVOKED
#ifndef _INC_WINDOWS

  #define VS_VERSION_INFO     1

  #ifdef APSTUDIO_INVOKED
    #define APSTUDIO_HIDDEN_SYMBOLS // Ignore following symbols
  #endif // APSTUDIO_INVOKED

  #ifndef WINVER
    #define WINVER 0x0400   // default to Windows Version 4.0
  #endif // !WINVER

  #if !defined(WCEOLE_ENABLE_DIALOGEX)
    #define DIALOGEX DIALOG DISCARDABLE
  #endif

  #include <commctrl.h>
  #define  SHMENUBAR RCDATA

  #if defined(SHELLSDK_MODULES_AYGSHELL)
    #include <aygshell.h> 
  #else
    #define NOMENU                 0xFFFF
    #define IDS_SHNEW              1
    #define IDM_SHAREDNEW          10
    #define IDM_SHAREDNEWDEFAULT   11
  #endif
  #ifndef I_IMAGENONE
	#define I_IMAGENONE            (-2)
  #endif

  #include <windows.h>

#endif // !_INC_WINDOWS
#endif // RC_INVOKED

#include "atlres.h"

#ifdef APSTUDIO_INVOKED
	#undef APSTUDIO_HIDDEN_SYMBOLS
#endif // APSTUDIO_INVOKED

// Visual Studio dialog editor bug fix
#ifndef DS_FIXEDSYS 
	#define DS_FIXEDSYS 0
#endif

#define IDC_INFOSTATIC 0xFFFE   // == IDC_STATIC -1

///////////////////////////////////////////////////////////////////////////////
// Smartphone and PPC 2005 Resource IDs

// Command and associated string resource IDs
#define ID_MENU_OK                      0xE790
#define ID_MENU_CANCEL                  0xE791
#define ID_MENU							0xE792
#define ID_ACTION						0xE793
#define ID_VIEW_FULLSCREEN              0xE802

// MenuBar resource IDs
#define ATL_IDM_MENU_DONE               0xE701
#define ATL_IDM_MENU_CANCEL             0xE702
#define ATL_IDM_MENU_DONECANCEL         0xE703

// Default device MenuBar control ID and MenuBar resource ID
#define ATL_IDW_MENU_BAR				0xE802  

// SmartPhone spinned controls ID offset for CSpinCtrl
#define ATL_IDW_SPIN_ID                 9999

#endif // __ATLRESCE_H__