Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/ttpcmn/ttcmn.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5227 by yutakapon, Fri May 3 09:51:03 2013 UTC revision 5230 by yutakapon, Fri May 3 11:47:56 2013 UTC
# Line 1077  void FAR PASCAL ShowAllWin(int stat) { Line 1077  void FAR PASCAL ShowAllWin(int stat) {
1077                                  rc.bottom - rc.top,                                  rc.bottom - rc.top,
1078                                  SWP_NOZORDER);                                  SWP_NOZORDER);
1079    
1080                          // 最大化していたか?                          // ウィンドウの状態復元
1081                          if (pm->WinPrevRect[i].showCmd == SW_SHOWMAXIMIZED) {                          ShowWindow(pm->WinList[i], pm->WinPrevRect[i].showCmd);
                                 ShowWindow(pm->WinList[i], SW_MAXIMIZE);  
                         }  
1082    
1083                  } else {                  } else {
1084                          ShowWindow(pm->WinList[i], stat);                          ShowWindow(pm->WinList[i], stat);
# Line 1123  static void get_valid_window_and_memoriz Line 1121  static void get_valid_window_and_memoriz
1121    
1122          n = 0;          n = 0;
1123          for (i = 0 ; i < pm->NWin ; i++) {          for (i = 0 ; i < pm->NWin ; i++) {
                 if (IsIconic(pm->WinList[i]) || !IsWindowVisible(pm->WinList[i])) {  
                         memset(&pm->WinPrevRect[i], 0, sizeof(pm->WinPrevRect[i]));  
                         continue;  
                 }  
   
1124                  // 現在位置を覚えておく。                  // 現在位置を覚えておく。
1125                  wndPlace.length = sizeof(WINDOWPLACEMENT);                  wndPlace.length = sizeof(WINDOWPLACEMENT);
1126                  GetWindowPlacement(pm->WinList[i], &wndPlace);                  GetWindowPlacement(pm->WinList[i], &wndPlace);

Legend:
Removed from v.5227  
changed lines
  Added in v.5230

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26