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