home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: 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
-
- 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.
-