Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi
Please let me know the Win NT equivalent of the presentation manager in OS/2.
I am working on a project to migrate C code working on OS/2 to Windows NT.I have come across API functions like gpicreateps , im not able to find the solution for the same in Win NT Api's in C.
Please help me..
Thanks in advance
Regards,
Fatima

Sorry Fatima but you won't find any such equivalent as Presentaion Manager is unique to OS/2. The OS/2 desktop is object oriented including the desktop layer itself which is one of the reasons it retains its properties of inheritance.
Win NT has icons which are described by Microsoft as objects but they're not actually objects. They have no properties of inheritance because the Win NT desktop doesn't support it.
If e.g. you take a desktop object uner Win NT and rename the file, the link to the desktop object is broken.
Under OS/2 the link would be retained.
There is nothing in the Microsoft planet of things which comes close to the technical excellence of OS/2. Now you're finding out the hard way.
Regards,
Hugh

Sorry Hugh, I'm with you concerning your opinion
about OS/2 (using it since '93).
But there is a big difference between
the presentation manager and the WPS.
The presentation manager handles drawing to
the output devices. You can start a program which
uses windows and dialogs, even without the WPS
beeing installed. WPS uses the PM to show you
the desktop with its objects...Fatima: You'll need to know something about
both APIs. NT-GUI is not far away from OS/2 PM,
but don't expect an API with structured names...RuleOfThumb:
Forget prefixes, translate the rest:os/2 gpi = graphics presentation interface
NT gdi = graphics device interface
use this as hint to find APIs in the docs ;-)os/2 ps = presentation space
same thing in NT, but the name is
device context, DCgpicreateps() => CreateDC()
good luck,
chris

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |