Changeset 377 for trunk/dll/viewinf.c
- Timestamp:
- Jul 27, 2006, 8:28:31 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/viewinf.c
r328 r377 222 222 WinDestroyWindow(WinWindowFromID(hwnd, 223 223 VINF_LISTBOX)); 224 WinCreateWindow(hwnd,224 if (!WinCreateWindow(hwnd, 225 225 WC_LISTBOX, 226 226 (PSZ)NULL, … … 234 234 VINF_LISTBOX, 235 235 NULL, 236 NULL); 237 WinSetPresParam(WinWindowFromID(hwnd, 238 VINF_LISTBOX), 239 PP_FONTNAMESIZE, 240 strlen(GetPString(IDS_10SYSTEMMONOTEXT)) + 1, 241 (PVOID)GetPString(IDS_10SYSTEMMONOTEXT)); 236 NULL)) 237 { 238 Win_Error2(hwnd,hwnd,pszSrcFile,__LINE__,IDS_WINCREATEWINDOW); 239 } 240 else { 241 WinSetPresParam(WinWindowFromID(hwnd,VINF_LISTBOX), 242 PP_FONTNAMESIZE, 243 strlen(GetPString(IDS_10SYSTEMMONOTEXT)) + 1, 244 (PVOID)GetPString(IDS_10SYSTEMMONOTEXT)); 245 } 242 246 WinSetWindowText(hwnd, 243 247 GetPString(IDS_VIEWHELPFILESTEXT)); 244 WinShowWindow(WinWindowFromID(hwnd, 245 VINF_SRCH), 248 WinShowWindow(WinWindowFromID(hwnd,VINF_SRCH), 246 249 FALSE); 247 WinShowWindow(WinWindowFromID(hwnd, 248 VINF_FILTER), 250 WinShowWindow(WinWindowFromID(hwnd,VINF_FILTER), 249 251 FALSE); 250 WinShowWindow(WinWindowFromID(hwnd, 251 VINF_TOPIC), 252 WinShowWindow(WinWindowFromID(hwnd,VINF_TOPIC), 252 253 FALSE); 253 WinShowWindow(WinWindowFromID(hwnd, 254 VINF_TOPICHDR), 254 WinShowWindow(WinWindowFromID(hwnd,VINF_TOPICHDR), 255 255 FALSE); 256 256 } 257 hptrIcon = WinLoadPointer(HWND_DESKTOP, 258 FM3ModHandle, 259 VINF_FRAME); 260 WinDefDlgProc(hwnd, 261 WM_SETICON, 262 MPFROMLONG(hptrIcon), 263 MPVOID); 257 hptrIcon = WinLoadPointer(HWND_DESKTOP,FM3ModHandle,VINF_FRAME); 258 WinDefDlgProc(hwnd,WM_SETICON,MPFROMLONG(hptrIcon),MPVOID); 264 259 hwndMe = hwnd; 265 PostMsg(hwnd, 266 UM_STRETCH, 267 MPVOID, 268 MPVOID); 269 PostMsg(hwnd, 270 UM_RESCAN, 271 MPVOID, 272 MPVOID); 260 PostMsg(hwnd,UM_STRETCH,MPVOID,MPVOID); 261 PostMsg(hwnd,UM_RESCAN,MPVOID,MPVOID); 273 262 break; 274 263
Note:
See TracChangeset
for help on using the changeset viewer.