--- np2/win9x/dialog/d_serial.cpp 2003/10/31 04:11:40 1.7 +++ np2/win9x/dialog/d_serial.cpp 2003/11/03 00:49:55 1.8 @@ -6,6 +6,7 @@ #include "dosio.h" #include "commng.h" #include "sysmng.h" +#include "np2class.h" #include "dialog.h" #include "dialogs.h" #include "bit2res.h" @@ -747,13 +748,14 @@ void dialog_serial(HWND hWnd) { ZeroMemory(&psh, sizeof(psh)); psh.dwSize = sizeof(PROPSHEETHEADER); - psh.dwFlags = PSH_NOAPPLYNOW | PSH_USEHICON; + psh.dwFlags = PSH_NOAPPLYNOW | PSH_USEHICON | PSH_USECALLBACK; psh.hwndParent = hWnd; psh.hInstance = hinst; psh.hIcon = LoadIcon(hinst, MAKEINTRESOURCE(IDI_ICON2)); psh.nPages = 4; psh.phpage = hpsp; psh.pszCaption = str_seropt; + psh.pfnCallback = np2class_propetysheet; PropertySheet(&psh); InvalidateRect(hWnd, NULL, TRUE); }