Changeset 200 for trunk/dll/mainwnd.c
- Timestamp:
- Jun 8, 2005, 7:54:47 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/mainwnd.c
r186 r200 17 17 26 May 05 SHL Comments and localize code 18 18 05 Jun 05 SHL Use QWL_USER 19 06 Jun 05 SHL Rework MainWMCommand for VAC3.65 compat 19 20 20 21 ***********************************************************************/ … … 63 64 static USHORT firsttool = 0; 64 65 65 static BOOL CloseDirCnrChildren 66 static BOOL RestoreDirCnrState (HWND hwndClient,CHAR *name,BOOL noview);66 static BOOL CloseDirCnrChildren(HWND hwndClient); 67 static BOOL RestoreDirCnrState(HWND hwndClient, CHAR * name, BOOL noview); 67 68 68 69 static MRESULT EXPENTRY MainObjectWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) … … 121 122 CommaFmtULL(szQty, 122 123 sizeof(szQty), 123 ullFreeQty, ' ');124 ullFreeQty, ' '); 124 125 sprintf(s, 125 126 "%s (%lu%%) free", … … 3792 3793 ulSquare * ulSquare <= ulChildCnt; 3793 3794 ulSquare++) 3795 { 3794 3796 ; 3797 } 3795 3798 if (!fTileBackwards) 3796 3799 { … … 3936 3939 3937 3940 static VOID ResizeChildren(HWND hwndClient, SHORT oldcx, SHORT oldcy, SHORT newcx, 3938 3941 SHORT newcy) 3939 3942 { 3940 3943 /* … … 4174 4177 } 4175 4178 break; 4176 } // switch id 4179 } // switch id 4180 4177 4181 if (cmd) 4182 { 4178 4183 PostMsg(WinWindowFromID(WinQueryWindow(hwnd, QW_PARENT), FID_CLIENT), 4179 4184 WM_COMMAND, 4180 4185 MPFROM2SHORT(cmd, 0), 4181 4186 MPVOID); 4187 } 4182 4188 } 4183 4189 break; … … 4932 4938 { 4933 4939 4934 CHAR *d1 = "\"", *d2 = "\""; 4940 CHAR d1[] = "\""; 4941 CHAR d2[] = "\""; 4935 4942 4936 4943 if (!needs_quoting(wa.szCurrentPath1)) … … 5105 5112 swp.cx == swpD.cx && 5106 5113 swp.cy == swpD.cy && 5107 5114 // fixme to be #defined someday 5108 5115 WinQueryWindowUShort(hwnd, QWL_USER + 10) && 5109 5116 WinQueryWindowUShort(hwnd, QWL_USER + 14)) … … 6180 6187 mi.iPosition = MIT_END; 6181 6188 mi.afStyle = MIS_SEPARATOR; 6182 mi.id = -1;6189 mi.id = (USHORT) -1; 6183 6190 WinSendMsg(hwndSysSubMenu, 6184 6191 MM_INSERTITEM,
Note:
See TracChangeset
for help on using the changeset viewer.