home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / Common / include / d3dres.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-31  |  1.6 KB  |  35 lines

  1. //-----------------------------------------------------------------------------
  2. // File: D3DRes.h
  3. //
  4. // Desc: Resource definitions required by the CD3DApplication class.
  5. //       Any application using the CD3DApplication class must include resources
  6. //       with the following identifiers.
  7. //
  8. // Copyright (c) 1999-2001 Microsoft Corporation. All rights reserved.
  9. //-----------------------------------------------------------------------------
  10. #ifndef D3DRES_H
  11. #define D3DRES_H
  12.  
  13.  
  14. #define IDI_MAIN_ICON          101 // Application icon
  15. #define IDR_MAIN_ACCEL         113 // Keyboard accelerator
  16. #define IDR_MENU               141 // Application menu
  17. #define IDR_POPUP              142 // Popup menu
  18. #define IDD_SELECTDEVICE       144 // "Change Device" dialog box
  19.  
  20. #define IDC_ADAPTER_COMBO         1002 // Adapter combobox for "SelectDevice" dlg
  21. #define IDC_DEVICE_COMBO          1000 // Device combobox for "SelectDevice" dlg
  22. #define IDC_FULLSCREENMODES_COMBO 1003 // Mode combobox for "SelectDevice" dlg
  23. #define IDC_MULTISAMPLE_COMBO     1005 // MultiSample combobox for "SelectDevice" dlg
  24. #define IDC_WINDOW                1016 // Radio button for windowed-mode
  25. #define IDC_FULLSCREEN            1018 // Radio button for fullscreen-mode
  26.  
  27. #define IDM_CHANGEDEVICE     40002 // Command to invoke "Change Device" dlg
  28. #define IDM_TOGGLEFULLSCREEN 40003 // Command to toggle fullscreen mode
  29. #define IDM_TOGGLESTART      40004 // Command to toggle frame animation
  30. #define IDM_SINGLESTEP       40005 // Command to single step frame animation
  31. #define IDM_EXIT             40006 // Command to exit the application
  32.  
  33.  
  34. #endif // D3DRES_H
  35.