🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11890

Re: GINA Development and message catching...

#11890
From: Mike Collins
Date: Sat, 10 Jan 2004 00:51
26 lines
2375 bytes
Thanks Remy, I saw the WlxDialogBox (and assosiated functions) but I must
have missed the section stating the replacement GINA's MUST use these - I
thought they were simply there for convienance.  I tried Using
Application->HookMainWindow which complied fine but I still dont get the
WLX_WM_SAS message being sent.  So based on that, it seems that I will have
to opt for using the WlxDialogBox option.  However one of the parameters to
this function is a string specifying the resource ID of the template for the
dialog i.e.

lpszTemplate [in] Specifies the dialog box template. This parameter is
either the address of a null-terminated character string that specifies the
name of the dialog box template, or an integer value that specifies the
resource identifier of the dialog box template. If the parameter specifies a
resource identifier, its high-order word must be zero and its low-order word
must contain the identifier. You can use the MAKEINTRESOURCE macro to create
this value.

I assume this is the same sort of templete that VC++ uses as opossed to the
way borland uses the VCL form designer.  Based on that, is it possible to
design a form in VC++, save it to my DLL's resource and then point this
lpszTemplate at it.  If so, do you have any good pointers to using VC++ to
create forms i.e. any key properties that need setting :-)

Thanks again,

Mike C
Technical Details
Message-ID: <3fff49a8@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3ffe0272$1@newsgroups.borland.com> <3ffe0de9$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a212091b844eec5a
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-09 16:39:47 PST
Reply-To: "Mike Collins" <mikec@kr8.co.uk>
From: "Mike Collins" <mikec@kr8.co.uk>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ffe0272$1@newsgroups.borland.com> <3ffe0de9$1@newsgroups.borland.com>
Subject: Re: GINA Development and message catching...
Date: Sat, 10 Jan 2004 00:51:50 -0000
Lines: 28
Organization: kr8
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 81.2.78.34
Message-ID: <3fff49a8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1073695144 81.2.78.34 (9 Jan 2004 16:39:04 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail