Article View: comp.os.os2.programmer
Article #1930PRESENTATION MANAGER QUESTION
From: Uma Arunkumar
Date: Wed, 07 Oct 1992 15:30
Date: Wed, 07 Oct 1992 15:30
36 lines
1537 bytes
1537 bytes
****************** PM QUESTION in OS2 2.0************************
I am a beginner in PM programming in OS/2 2.0.
I am just trying to create a child window.
I have created a main window with frame, sysmenu, scroll bar,
minimize maximize buttons etc using WinCreateStdWindow.
This window displays the company logo and product information.
I have used some simple graphics functions.
As soon as the user hits any key, the next screen should be displayed.
The questions are given below:
(i) Do I have to create a child window or repaint the same window with the new textual information?
(ii) HOW SHOULD I CREATE A CHILD WINDOW?
(iii) HOW SHOULD I REPAINT AN EXISTING WINDOW?
(iv) I tried giving
WinPostMessage(hwnd, WM_ERASEWINDOW, (MPARAM) 0, (MPARAM)0);
in order to clear the window so that I can put new textual
information on the same window. But the compiler complains
that WM_ERASEWINDOW should be declared. ( I had defined INCL_WIN, INCL_GPI).
I WOULD HIGHLY APPRECIATE SOME HELP.
Thanks in advance.
My Email address is uma@natinst.com.
uma.
Technical Details
Message-ID:
<1auvr1INNjg0@falcon.natinst.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!sdd.hp.com!cs.utexas.edu!natinst.com!natinst.com!not-for-mailShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!sdd.hp.com!cs.utexas.edu!natinst.com!natinst.com!not-for-mail From: uma@natinst.com (Uma Arunkumar) Newsgroups: comp.os.os2.programmer Subject: PRESENTATION MANAGER QUESTION Date: 7 Oct 1992 10:30:41 -0500 Organization: National Instruments, Austin, TX Lines: 36 Distribution: world Message-ID: <1auvr1INNjg0@falcon.natinst.com> NNTP-Posting-Host: falcon.natinst.com