home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!cleveland.Freenet.Edu!aa596
- From: aa596@cleveland.Freenet.Edu (Peter Haller)
- Subject: Re: invalid window
- Message-ID: <1992Aug23.192638.21956@usenet.ins.cwru.edu>
- Sender: news@usenet.ins.cwru.edu
- Nntp-Posting-Host: slc12.ins.cwru.edu
- Reply-To: aa596@cleveland.Freenet.Edu (Peter Haller)
- Organization: Case Western Reserve University, Cleveland, OH (USA)
- References: <1992Aug22.124923.329@wuecl.wustl.edu>
- Date: Sun, 23 Aug 92 19:26:38 GMT
- Lines: 25
-
-
- In a previous article, ppc1@cec1.wustl.edu (Peter Pui Tak Chiu) says:
-
- >dear programmers,
- [stuff deleted]
- >
- >also, would anyone tell me how i can determine the size of the window (the
- >height and width) at runtime?
- >
- >thanks a lot in advance!!!
- >
- >
- >peter
-
- Use the GetClientRect() and GetWindowRect() to determine the size of the
- client area and the Windows respectively.
-
- PCH
-
- --
- Peter C. Haller | 'If you do what you
- Lorain Products | have always done,
- aa596@cleveland.Freenet.Edu | expect what you have
- "Are we having fun yet?" | always received.'
-