home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / misc / 5314 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!munnari.oz.au!hp9000.csc.cuhk.hk!hkuxb.hku.hk!h9112654
  3. From: h9112654@hkuxb.hku.hk (Edward P.C. Yuen)
  4. Subject: Help! w/ caption<-> w/o caption
  5. Message-ID: <C1CuCs.2Gq@hkuxb.hku.hk>
  6. Sender: usenet@hkuxb.hku.hk (USENET News System)
  7. Nntp-Posting-Host: hkuxb.hku.hk
  8. Organization: The University of Hong Kong
  9. Date: Sun, 24 Jan 1993 10:55:40 GMT
  10. Lines: 19
  11.  
  12. Dear netters,
  13.  
  14.     I'm developing a window application having the function that when
  15. there is double click inside the client area, the window will change from
  16. having a caption to the one without the caption(like the function in the
  17. clock.exe come with Windows 3.1). I use the SetWindowLong() and select
  18. the GWL_STYLE, but I am confused how I am going to redisplay the window 
  19. with the new style bits set. Whether to use UpdateWindow(),SetWindowPos(),
  20. or InvalidateRect() or combination of them?
  21.  
  22.     If this is an FAQ, sorry for that, and if there is any advise, 
  23. send mail to h9112654@hkusub.hku.hk
  24.  
  25.     Thank you in advance.
  26.  
  27. Best wishes,
  28.     Edward Yuen
  29.     Dept of Computer Science,
  30.     University of Hong Kong.
  31.