TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Gordon Weakliem
from: Keith Cumberbatch
date: 1994-09-24 00:31:04
subject: Dialogs as main interfac


GW> I had a similar problem to yours, using WinLoadDlg to create an
GW> app that used a modeless dialog for its interface.  Check the handle
GW> to the window for NULL and exit with an error if it is, so you won't
GW> have to kill it manually. 

I was trying to load a modeless dialog box as a main interface but I
was getting nowhere (I'am using the Petzold book OS/2 PM programming)
and I'am constently getting a signed short interger (needed/missing ?)
when I try to compile the resource, this is happening on the DIALOG
statement.  I got the same error when I tried to compile the Petzold
code and also the sample code in the help files on WINDOWTEMPLATE.

BTW I'am using Borland C++ 1.5

___
 X KWQ/2 1.2g X Sex in a Volkswagen = Farvergnookie

--- Maximus/2 2.01wb

* Origin: The Boiler Room OS/2 (1:278/2000)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 278/2000 10 261/1023 396/1 3615/50 229/2 12/2442 711/409 54/54 711/808
@PATH: 711/809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.