Mercurial > hg > xemacs-beta
comparison src/frame-msw.c @ 827:28426972f654
[xemacs-hg @ 2002-05-06 14:14:33 by jhar]
Misc win32 native build and doc fixes
author | jhar |
---|---|
date | Mon, 06 May 2002 14:16:31 +0000 |
parents | 6728e641994e |
children | 2b6fa2618f76 |
comparison
equal
deleted
inserted
replaced
826:6728e641994e | 827:28426972f654 |
---|---|
256 | 256 |
257 /* Called after frame's properties are set */ | 257 /* Called after frame's properties are set */ |
258 static void | 258 static void |
259 mswindows_init_frame_3 (struct frame *f) | 259 mswindows_init_frame_3 (struct frame *f) |
260 { | 260 { |
261 /* Don't do this earlier or we get a WM_PAINT before the frame is ready. | 261 /* Don't do this earlier or we get a WM_PAINT before the frame is ready */ |
262 * The SW_x parameter in the first call that an app makes to ShowWindow is | |
263 * ignored, and the parameter specified in the caller's STARTUPINFO is | |
264 * substituted instead. That parameter is SW_HIDE if we were started by | |
265 * runemacs, so call this twice. #### runemacs is evil */ | |
266 ShowWindow (FRAME_MSWINDOWS_HANDLE (f), SW_SHOWNORMAL); | |
267 ShowWindow (FRAME_MSWINDOWS_HANDLE (f), SW_SHOWNORMAL); | 262 ShowWindow (FRAME_MSWINDOWS_HANDLE (f), SW_SHOWNORMAL); |
268 SetForegroundWindow (FRAME_MSWINDOWS_HANDLE (f)); | 263 SetForegroundWindow (FRAME_MSWINDOWS_HANDLE (f)); |
269 DragAcceptFiles (FRAME_MSWINDOWS_HANDLE (f), TRUE); | 264 DragAcceptFiles (FRAME_MSWINDOWS_HANDLE (f), TRUE); |
270 } | 265 } |
271 | 266 |