Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
1.6 KiB

  1. /******************************************************************************
  2. Source File: deskpan.cpp
  3. Main code for the advanced desktop Panning page
  4. Copyright (c) 1997-1998 by Microsoft Corporation
  5. Change History:
  6. 12-16-97 AndreVa - Created It
  7. ******************************************************************************/
  8. #include "deskpan.h"
  9. #define DECL_CRTFREE
  10. #include <crtfree.h>
  11. // OLE-Registry magic number
  12. // 42071714-76d4-11d1-8b24-00a0c9068ff3
  13. //
  14. GUID g_CLSID_CplExt = { 0x42071714, 0x76d4, 0x11d1,
  15. { 0x8b, 0x24, 0x00, 0xa0, 0xc9, 0x06, 0x8f, 0xf3}
  16. };
  17. DESK_EXTENSION_INTERFACE DeskInterface;
  18. static const DWORD sc_PanningHelpIds[] =
  19. {
  20. 0, 0
  21. };
  22. ///////////////////////////////////////////////////////////////////////////////
  23. //
  24. // Messagebox wrapper
  25. //
  26. ///////////////////////////////////////////////////////////////////////////////
  27. int
  28. FmtMessageBox(
  29. HWND hwnd,
  30. UINT fuStyle,
  31. DWORD dwTitleID,
  32. DWORD dwTextID)
  33. {
  34. TCHAR Title[256];
  35. TCHAR Text[2000];
  36. LoadString(g_hInst, dwTextID, Text, SIZEOF(Text));
  37. LoadString(g_hInst, dwTitleID, Title, SIZEOF(Title));
  38. return (MessageBox(hwnd, Text, Title, fuStyle));
  39. }
  40. //---------------------------------------------------------------------------
  41. //
  42. // PropertySheeDlgProc()
  43. //
  44. // The dialog procedure for the "Panning" property sheet page.
  45. //
  46. //---------------------------------------------------------------------------
  47. INT_PTR
  48. CALLBACK
  49. PropertySheeDlgProc(
  50. HWND hDlg,
  51. UINT uMessage,
  52. WPARAM wParam,
  53. LPARAM lParam
  54. )
  55. {
  56. return TRUE;
  57. }