home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!usc!wupost!eclnews!cec1!ppc1
- From: ppc1@cec1.wustl.edu (Peter Pui Tak Chiu)
- Subject: invalid window
- Message-ID: <1992Aug22.124923.329@wuecl.wustl.edu>
- Sender: usenet@wuecl.wustl.edu (Usenet Administrator)
- Nntp-Posting-Host: cec1
- Organization: Washington University, St. Louis Mo.
- Date: Sat, 22 Aug 1992 12:49:23 GMT
- Lines: 24
-
- dear programmers,
-
- i am new to windows programming. i am trying to write a paintbrush type
- program as an exercise. but i found some problem.
-
- i am using quick c for windows to do it.
-
- when some windows cover my paint program, all the drawings are gone and i have
- no clue what to do to restore it. i think i have to use fuctions like:
- CreateBitmap and BitBlt but what should i do with them?
-
- can i create a bitmap structure and copy the whole client window to the bitmap
- and restore it when the window becomes in focus again?
-
- 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
- .
-
-
-