🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2297

Help! w/ caption<-> w/o caption

#2297
From: Edward P.C. Yuen
Date: Sun, 24 Jan 1993 10:55
19 lines
1145 bytes
Dear netters,

	I'm developing a window application having the function that when
there is double click inside the client area, the window will change from
having a caption to the one without the caption(like the function in the
clock.exe come with Windows 3.1). I use the SetWindowLong() and select
the GWL_STYLE, but I am confused how I am going to redisplay the window 
with the new style bits set. Whether to use UpdateWindow(),SetWindowPos(),
or InvalidateRect() or combination of them?

	If this is an FAQ, sorry for that, and if there is any advise, 
send mail to h9112654@hkusub.hku.hk

	Thank you in advance.

Best wishes,
	Edward Yuen
	Dept of Computer Science,
	University of Hong Kong.
Technical Details
Message-ID: <C1CuCs.2Gq@hkuxb.hku.hk>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!hp9000.csc.cuhk.hk!hkuxb.hku.hk!h9112654

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!hp9000.csc.cuhk.hk!hkuxb.hku.hk!h9112654
From: h9112654@hkuxb.hku.hk (Edward P.C. Yuen)
Subject: Help! w/ caption<-> w/o caption
Message-ID: <C1CuCs.2Gq@hkuxb.hku.hk>
Sender: usenet@hkuxb.hku.hk (USENET News System)
Nntp-Posting-Host: hkuxb.hku.hk
Organization: The University of Hong Kong
Date: Sun, 24 Jan 1993 10:55:40 GMT
Lines: 19