🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2187

Re: Is the PM model closer to X or Windows?

#2187
From: Chris Shabsin
Date: Tue, 29 Sep 1992 18:20
27 lines
1868 bytes
In article <JOHNB.92Sep28085634@tara.am.dsir.govt.nz> johnb@am.dsir.govt.nz (John Burnell) writes:

   I have a couple programs that I am going to port to a PM interface. I have
   examples of both X and Windows programs that perform similar tasks. Does
   anyone have a feeling as to which would be easier to use as a base for my
   port?

   Thanks in advance for any help
   John Burnell

I would suggest the Windows program, since PM was once really just
Windows for OS/2, anyway...  well, not exactly, but it has its origins
in Windows.  Basically, you just tack on a "Win" to the beginning of
everything (WinGetMessage instead of GetMessage) and voila!  PM
program.  Obviously, it's more complicated than this, like differences
in Window Messages parameters (MPARAM instead of WORD/DWORD) and the
existance of true multitasking.  But X has very little formal
structure, and you won't recognize much in X programs if you have done
PM or Windows... 

--
-Chris Shabsin
-shabby@athena.mit.edu
-member, SIPB, PWLCSBHNM, MITMB, VWA, MITCC, PWN, LSI
-"You got the power, you got the might, get ready for battle, beat
	that Black Knight!"
					-Black Knight pinball game...
Technical Details
Message-ID: <SHABBY.92Sep29142036@steve-dallas.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!spool.mu.edu!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!shabby
References: <JOHNB.92Sep28085634@tara.am.dsir.govt.nz>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!spool.mu.edu!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!shabby
From: shabby@Athena.MIT.EDU (Chris Shabsin)
Subject: Re: Is the PM model closer to X or Windows?
In-Reply-To: johnb@am.dsir.govt.nz's message of 28 Sep 92 15:56:34 GMT
Message-ID: <SHABBY.92Sep29142036@steve-dallas.mit.edu>
Sender: news@athena.mit.edu (News system)
Nntp-Posting-Host: steve-dallas.mit.edu
Organization: Massachusetts Institute of Technology
References: <JOHNB.92Sep28085634@tara.am.dsir.govt.nz>
Distribution: comp.os.os2.programmer
Date: Tue, 29 Sep 1992 18:20:48 GMT
Lines: 27