🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.news
Article #398

Problems with CreateWindow

#398
From: Fantom
Date: Tue, 15 Sep 1992 03:49
15 lines
918 bytes
Hiya,
	I've been trying to get an application started with a maximised window,
and so far have had no luck whatsoever.

I can create a full screen window (using getsysmetrics to determine the screen
size).  
ShowWindow(hWnd, SW_MAXIMIZED) creates the window full screen, but doesn't
change the parameters you get when in the WinMain fn on a WM_CREATE message - the creation struct still has the sizes of the unmaximised window in it.
I've also tried using the WS_MAXIMUM option in the CreateWindow call and this
does not help.

Any sugestions????

	Thanks.
		Fantom (s913578@yallara.cs.rmit.OZ.AU)
Technical Details
Message-ID: <14545@goanna.cs.rmit.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!goanna!yallara.cs.rmit.OZ.AU!s913578

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!goanna!yallara.cs.rmit.OZ.AU!s913578
From: s913578@yallara.cs.rmit.OZ.AU (Fantom)
Newsgroups: comp.windows.news
Subject: Problems with CreateWindow
Message-ID: <14545@goanna.cs.rmit.oz.au>
Date: 15 Sep 92 03:49:51 GMT
Sender: news@goanna.cs.rmit.oz.au
Lines: 17