|
|
| version 1.1, 2003/10/16 17:59:09 | version 1.3, 2003/11/04 15:44:59 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #include "resource.h" | #include "resource.h" |
| #include "np2.h" | #include "np2.h" |
| #include "i286.h" | |
| #include "viewer.h" | #include "viewer.h" |
| #include "viewcmn.h" | #include "viewcmn.h" |
| #include "i286.h" | |
| static char np2viewclass[] = "NP2-ViewWindow"; | static char np2viewclass[] = "NP2-ViewWindow"; |
| NP2VIEW_T np2view[NP2VIEW_MAX]; | NP2VIEW_T np2view[NP2VIEW_MAX]; |
| Line 201 BOOL viewer_init(HINSTANCE hPreInst) { | Line 202 BOOL viewer_init(HINSTANCE hPreInst) { |
| np2vc.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_ICON2)); | np2vc.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_ICON2)); |
| np2vc.hCursor = LoadCursor(NULL, IDC_ARROW); | np2vc.hCursor = LoadCursor(NULL, IDC_ARROW); |
| np2vc.hbrBackground = (HBRUSH)0; | np2vc.hbrBackground = (HBRUSH)0; |
| np2vc.lpszMenuName = MAKEINTRESOURCE(IDM_VIEW); | np2vc.lpszMenuName = MAKEINTRESOURCE(IDR_VIEW); |
| np2vc.lpszClassName = np2viewclass; | np2vc.lpszClassName = np2viewclass; |
| if (!RegisterClass(&np2vc)) { | if (!RegisterClass(&np2vc)) { |
| return(FAILURE); | return(FAILURE); |