home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / programm / 6943 < prev    next >
Encoding:
Internet Message Format  |  1992-12-11  |  2.3 KB

  1. Path: sparky!uunet!wupost!sdd.hp.com!hpscit.sc.hp.com!kitchin
  2. From: kitchin@lf.hp.com (Bruce Kitchin)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: New programmer requesting assistance
  5. Date: 11 Dec 1992 21:35:42 GMT
  6. Organization: Hewlett Packard Santa Clara Site
  7. Lines: 32
  8. Message-ID: <1gb1jeINNf76@hpscit.sc.hp.com>
  9. References: <1992Dec10.10632.17818@ms.uky.edu>
  10. NNTP-Posting-Host: eden.avo.hp.com
  11. X-Newsreader: TIN [version 1.1.2 PL7]
  12.  
  13. Todd Caldwell (toddc@addiction.inslab.uky.edu) wrote:
  14. : I am new to OS/2 programming and not extremely experienced in 'Real' 
  15. : programming at all.  I am trying to write my first useful application.
  16. : I have a couple of questions though.  I am using the emx/gcc package and
  17. : was wondering...if I write an app that opens a window on the desktop.
  18. : Does PM take care of things such as dragging the window and redrawing
  19. : the screen on exit?  I hope its not a terribly stupid question as I'm sure
  20. : I'll have plenty more of them.
  21.  
  22. As someone else said, it is only stupid to not ask your question.  Basically
  23. unless you do something strange, the standard behavior of windows such as
  24. moving them and sizing them and redrawing them is handled by PM.  You
  25. have options to override them but people usually only do this to support
  26. something rather different.
  27.  
  28. Your question suggests to me that you are probably not familiar with
  29. how PM programming works.  You probably could use a book on the subject
  30. to learn the basics.  Things like what makes up a minimum PM program?
  31. The best book I've seen on the subject is pretty old, Charles Petzold's
  32. Programmiing the Presentation Manager.  It covers only PM at level 1.1.
  33. However what it covers is still real important and by taking you through
  34. a series of programs to learn how, you build up an understanding of
  35. the approach.  This book does it better, in my opinion, than any other
  36. I've reviewed.  Others will probably disagree.  However, the problem with
  37. Petzold's book is that it is VERY hard to find.  It is published by
  38. Microsoft Press(!!!!).  It appears that they made it 'out-of-print'
  39. even when there was some demand for it.  Occaisionally one sees a copy
  40. especially in a used book store.  One might also be able to borrow a copy.
  41.  
  42. Good luck.  Don't be afraid to ask questions.  Remember that the question
  43. you ask and get answered may help many other people as well.
  44.