|
|
| version 1.4, 2003/10/30 12:45:38 | version 1.5, 2003/11/03 00:49:55 |
|---|---|
| Line 6 | Line 6 |
| #include "np2.h" | #include "np2.h" |
| #include "scrnmng.h" | #include "scrnmng.h" |
| #include "sysmng.h" | #include "sysmng.h" |
| #include "np2class.h" | |
| #include "dialog.h" | #include "dialog.h" |
| #include "dialogs.h" | #include "dialogs.h" |
| #include "pccore.h" | #include "pccore.h" |
| Line 278 void dialog_scropt(HWND hWnd) { | Line 279 void dialog_scropt(HWND hWnd) { |
| ZeroMemory(&psh, sizeof(psh)); | ZeroMemory(&psh, sizeof(psh)); |
| psh.dwSize = sizeof(PROPSHEETHEADER); | psh.dwSize = sizeof(PROPSHEETHEADER); |
| psh.dwFlags = PSH_NOAPPLYNOW | PSH_USEHICON; | psh.dwFlags = PSH_NOAPPLYNOW | PSH_USEHICON | PSH_USECALLBACK; |
| psh.hwndParent = hWnd; | psh.hwndParent = hWnd; |
| psh.hInstance = hinst; | psh.hInstance = hinst; |
| psh.hIcon = LoadIcon(hinst, MAKEINTRESOURCE(IDI_ICON2)); | psh.hIcon = LoadIcon(hinst, MAKEINTRESOURCE(IDI_ICON2)); |
| psh.nPages = 3; | psh.nPages = 3; |
| psh.phpage = hpsp; | psh.phpage = hpsp; |
| psh.pszCaption = str_scropt; | psh.pszCaption = str_scropt; |
| psh.pfnCallback = np2class_propetysheet; | |
| PropertySheet(&psh); | PropertySheet(&psh); |
| InvalidateRect(hWndMain, NULL, TRUE); | InvalidateRect(hWndMain, NULL, TRUE); |
| } | } |