Diff for /np2/win9x/np2.cpp between versions 1.52 and 1.54

version 1.52, 2004/05/21 08:40:27 version 1.54, 2004/06/02 11:02:54
Line 74  static char  szClassName[] = "NP2-MainWi Line 74  static char  szClassName[] = "NP2-MainWi
                                                 {0, 0, 0x3e, 19200, "", "", "", ""},            // ver0.34                                                  {0, 0, 0x3e, 19200, "", "", "", ""},            // ver0.34
                                                 {0, 0, 0x3e, 19200, "", "", "", ""},            // ver0.34                                                  {0, 0, 0x3e, 19200, "", "", "", ""},            // ver0.34
                                                 0xffffff, 0xffbf6a, 0, 0,                                                  0xffffff, 0xffbf6a, 0, 0,
                                                 0, 1, 0, 9801, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};                                                  0, 1, 0, 9801, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
   
                 char            fddfolder[MAX_PATH];                  char            fddfolder[MAX_PATH];
                 char            hddfolder[MAX_PATH];                  char            hddfolder[MAX_PATH];
Line 363  static void np2cmd(HWND hWnd, UINT16 cmd Line 363  static void np2cmd(HWND hWnd, UINT16 cmd
                         sstpmsg_config();                          sstpmsg_config();
                         DialogBox(hInst, MAKEINTRESOURCE(IDD_CONFIG),                          DialogBox(hInst, MAKEINTRESOURCE(IDD_CONFIG),
                                                                         hWnd, (DLGPROC)CfgDialogProc);                                                                          hWnd, (DLGPROC)CfgDialogProc);
                           if (!scrnmng_isfullscreen()) {
                                   BYTE thick;
                                   thick = (GetWindowLong(hWnd, GWL_STYLE) & WS_THICKFRAME)?1:0;
                                   if (thick != np2oscfg.thickframe) {
                                           WINLOCEX wlex;
                                           wlex = np2_winlocexallwin(hWnd);
                                           winlocex_setholdwnd(wlex, hWnd);
                                           np2class_frametype(hWnd, np2oscfg.thickframe);
                                           winlocex_move(wlex);
                                           winlocex_destroy(wlex);
                                   }
                           }
                         winuileave();                          winuileave();
                         break;                          break;
   
Line 798  static void np2cmd(HWND hWnd, UINT16 cmd Line 810  static void np2cmd(HWND hWnd, UINT16 cmd
                         dialog_writebmp(hWnd);                          dialog_writebmp(hWnd);
                         winuileave();                          winuileave();
                         break;                          break;
 #if defined(SUPPPORT_S98)  #if defined(SUPPORT_S98)
                 case IDM_S98LOGGING:                  case IDM_S98LOGGING:
                         winuienter();                          winuienter();
                         dialog_s98(hWnd);                          dialog_s98(hWnd);
Line 1380  int WINAPI WinMain(HINSTANCE hInstance,  Line 1392  int WINAPI WinMain(HINSTANCE hInstance, 
         MSG                     msg;          MSG                     msg;
         HWND            hWnd;          HWND            hWnd;
         UINT            i;          UINT            i;
           DWORD           style;
 #ifdef OPENING_WAIT  #ifdef OPENING_WAIT
         UINT32          tick;          UINT32          tick;
 #endif  #endif
Line 1454  int WINAPI WinMain(HINSTANCE hInstance,  Line 1467  int WINAPI WinMain(HINSTANCE hInstance, 
   
         mousemng_initialize();          mousemng_initialize();
   
         hWnd = CreateWindowEx(0, szClassName, np2oscfg.titles,          style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX;
                                                 WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION |          if (np2oscfg.thickframe) {
                                                 WS_THICKFRAME | WS_MINIMIZEBOX,                  style |= WS_THICKFRAME;
           }
           hWnd = CreateWindowEx(0, szClassName, np2oscfg.titles, style,
                                                 np2oscfg.winx, np2oscfg.winy, 640, 400,                                                  np2oscfg.winx, np2oscfg.winy, 640, 400,
                                                 NULL, NULL, hInstance, NULL);                                                  NULL, NULL, hInstance, NULL);
         hWndMain = hWnd;          hWndMain = hWnd;

Removed from v.1.52  
changed lines
  Added in v.1.54


RetroPC.NET-CVS <cvs@retropc.net>