Article View: comp.os.os2.programmer
Article #103Notebook pages
From: rgundech
Date: Mon, 02 Nov 1992 00:34
Date: Mon, 02 Nov 1992 00:34
17 lines
1485 bytes
1485 bytes
I am currently doing some PM development using the IBM C Set/2 compiler and OS/2 2.0 toolkit. I have been trying for the past few days to associate a dialog box with a notebook page, but am simply not having any luck. The dialog resource is in the executable and the following is a brief outline of my code : DosGetResource(....); /* get the dialog box resource */ WinCreateDialog(....) /* Create the dialog structure */ /* send message to notebook to associate dialog box as a page */ I got the above general fragment from the OS/2 2.0 Technical Library, but it doesn't seem to work properly. The program compiles and links properly, but when I run it, I don't see any dialog box associated with the notebook page. What could I be doing wrong ? (I am new to PM programming, so it is very possible that I have made a mistake ) If anybody out there has any example notebook code, would you mind sending it to me ? I would really appreciate any help. My E-mail address is rgundech@napier.uwaterloo.ca
Technical Details
Message-ID:
<Bx2CA2.8sF@undergrad.math.waterloo.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!undergrad.math.waterloo.edu!cayley.uwaterloo.ca!rgundechShow Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!undergrad.math.waterloo.edu!cayley.uwaterloo.ca!rgundech From: rgundech@napier.uwaterloo.ca Subject: Notebook pages Message-ID: <Bx2CA2.8sF@undergrad.math.waterloo.edu> Originator: rgundech@cayley.uwaterloo.ca Sender: news@undergrad.math.waterloo.edu Organization: University of Waterloo Date: Mon, 2 Nov 1992 00:34:48 GMT Lines: 19