home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / misc / 1457 next >
Encoding:
Text File  |  1992-08-23  |  1.1 KB  |  38 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!cleveland.Freenet.Edu!aa596
  3. From: aa596@cleveland.Freenet.Edu (Peter Haller)
  4. Subject: Re: invalid window
  5. Message-ID: <1992Aug23.192638.21956@usenet.ins.cwru.edu>
  6. Sender: news@usenet.ins.cwru.edu
  7. Nntp-Posting-Host: slc12.ins.cwru.edu
  8. Reply-To: aa596@cleveland.Freenet.Edu (Peter Haller)
  9. Organization: Case Western Reserve University, Cleveland, OH (USA)
  10. References: <1992Aug22.124923.329@wuecl.wustl.edu>  
  11. Date: Sun, 23 Aug 92 19:26:38 GMT
  12. Lines:       25
  13.  
  14.  
  15. In a previous article, ppc1@cec1.wustl.edu (Peter Pui Tak Chiu) says:
  16.  
  17. >dear programmers,
  18. [stuff deleted]
  19. >
  20. >also, would anyone tell me how i can determine the size of the window (the
  21. >height and width) at runtime?
  22. >
  23. >thanks a lot in advance!!!
  24. >
  25. >
  26. >peter
  27.  
  28. Use the GetClientRect() and GetWindowRect() to determine the size of the
  29. client area and the Windows respectively.
  30.  
  31. PCH
  32.  
  33. -- 
  34. Peter C. Haller                |    'If you do what you
  35. Lorain Products                |    have always done,
  36. aa596@cleveland.Freenet.Edu         |    expect what you have
  37. "Are we having fun yet?"        |    always received.'
  38.