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.

42 lines
1.8 KiB

  1. #include "pch.h"
  2. #include "resource.h"
  3. #include "pageinfo.h"
  4. //-------------------------------------------------------------------------//
  5. // Page boot; Add your page info here...
  6. //-------------------------------------------------------------------------//
  7. // (1) Add CreateInstance forward:
  8. HWND CALLBACK GeneralPage_CreateInstance( HWND hwndParent );
  9. HWND CALLBACK StylesPage_CreateInstance( HWND hwndParent );
  10. HWND CALLBACK SBPage_CreateInstance( HWND hwndParent );
  11. HWND CALLBACK StaticsPage_CreateInstance( HWND hwndParent );
  12. HWND CALLBACK ButtonsPage_CreateInstance( HWND hwndParent );
  13. HWND CALLBACK EditPage_CreateInstance( HWND hwndParent );
  14. HWND CALLBACK ListsPage_CreateInstance( HWND hwndParent );
  15. HWND CALLBACK MoversPage_CreateInstance( HWND hwndParent );
  16. HWND CALLBACK ListViewPage_CreateInstance( HWND hwndParent );
  17. HWND CALLBACK TreeViewPage_CreateInstance( HWND hwndParent );
  18. HWND CALLBACK PickersPage_CreateInstance( HWND hwndParent );
  19. HWND CALLBACK BarsPage_CreateInstance( HWND hwndParent );
  20. //-------------------------------------------------------------------------//
  21. // (2) Add PageInfo entry
  22. const PAGEINFO g_rgPageInfo[] =
  23. {
  24. { GeneralPage_CreateInstance, IDS_PAGE_GENERAL },
  25. { StylesPage_CreateInstance, IDS_PAGE_STYLES },
  26. { SBPage_CreateInstance, IDS_PAGE_SCROLLBARS },
  27. { StaticsPage_CreateInstance, IDS_PAGE_STATICS },
  28. { ButtonsPage_CreateInstance, IDS_PAGE_BUTTONS },
  29. { EditPage_CreateInstance, IDS_PAGE_EDIT },
  30. { ListsPage_CreateInstance, IDS_PAGE_LISTS },
  31. { MoversPage_CreateInstance, IDS_PAGE_MOVERS },
  32. { ListViewPage_CreateInstance, IDS_PAGE_LISTVIEW },
  33. { TreeViewPage_CreateInstance, IDS_PAGE_TREEVIEW },
  34. { PickersPage_CreateInstance, IDS_PAGE_PICKERS },
  35. { BarsPage_CreateInstance, IDS_PAGE_BARS },
  36. };
  37. const int g_cPageInfo = ARRAYSIZE(g_rgPageInfo);