| version 1.4, 2003/10/30 12:45:38 | version 1.6, 2003/11/08 17:06:01 | 
| 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 86  static LRESULT CALLBACK Scropt1DlgProc(H | Line 87  static LRESULT CALLBACK Scropt1DlgProc(H | 
 | renewal = 1; | renewal = 1; | 
 | } | } | 
 | if (renewal) { | if (renewal) { | 
 | sysmng_update(SYS_UPDATECFG); |  | 
 | scrndraw_redraw(); | scrndraw_redraw(); | 
 |  | sysmng_update(SYS_UPDATECFG); | 
 | } | } | 
 | return(TRUE); | return(TRUE); | 
 | } | } | 
| 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); | 
 | } | } |