home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / mswindo / programm / misc / 1449 < prev    next >
Encoding:
Text File  |  1992-08-22  |  1.0 KB  |  36 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!usc!wupost!eclnews!cec1!ppc1
  3. From: ppc1@cec1.wustl.edu (Peter Pui Tak Chiu)
  4. Subject: invalid window
  5. Message-ID: <1992Aug22.124923.329@wuecl.wustl.edu>
  6. Sender: usenet@wuecl.wustl.edu (Usenet Administrator)
  7. Nntp-Posting-Host: cec1
  8. Organization: Washington University, St. Louis Mo.
  9. Date: Sat, 22 Aug 1992 12:49:23 GMT
  10. Lines: 24
  11.  
  12. dear programmers,
  13.  
  14. i am new to windows programming.  i am trying to write a paintbrush type
  15. program as an exercise.  but i found some problem.
  16.  
  17. i am using quick c for windows to do it.
  18.  
  19. when some windows cover my paint program, all the drawings are gone and i have
  20. no clue what to do to restore it.  i think i have to use fuctions like:
  21. CreateBitmap and BitBlt but what should i do with them?
  22.  
  23. can i create a bitmap structure and copy the whole client window to the bitmap
  24. and restore it when the window becomes in focus again?
  25.  
  26. also, would anyone tell me how i can determine the size of the window (the
  27. height and width) at runtime?
  28.  
  29. thanks a lot in advance!!!
  30.  
  31.  
  32. peter
  33. .
  34.  
  35.  
  36.