|
|
| version 1.7, 2003/10/31 04:11:40 | version 1.8, 2003/11/03 00:49:55 |
|---|---|
| Line 6 | Line 6 |
| #include "dosio.h" | #include "dosio.h" |
| #include "commng.h" | #include "commng.h" |
| #include "sysmng.h" | #include "sysmng.h" |
| #include "np2class.h" | |
| #include "dialog.h" | #include "dialog.h" |
| #include "dialogs.h" | #include "dialogs.h" |
| #include "bit2res.h" | #include "bit2res.h" |
| Line 747 void dialog_serial(HWND hWnd) { | Line 748 void dialog_serial(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 = 4; | psh.nPages = 4; |
| psh.phpage = hpsp; | psh.phpage = hpsp; |
| psh.pszCaption = str_seropt; | psh.pszCaption = str_seropt; |
| psh.pfnCallback = np2class_propetysheet; | |
| PropertySheet(&psh); | PropertySheet(&psh); |
| InvalidateRect(hWnd, NULL, TRUE); | InvalidateRect(hWnd, NULL, TRUE); |
| } | } |