🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CreateDialogIndirect and DLGTEMPLATE

#1613
From: Bob Gonder
Date: Sat, 07 Jul 2007 01:45
18 lines
1389 bytes
JD wrote:

>I would appreciate a small working sample using DLGTEMPLATE and 
>CreateDialogIndirect.
>
>The sample in the win32.hlp compiles but always returns -1.

That's odd.
CreateDialogIndirect is supposed to return NULL or an HWND

Which example would that be?
The one under
Creating a Modal Dialog Box
or the next page:
Creating a Modeless Dialog Box
Or
Creating a Template in Memory
I can't find help example for CreateDialogIndirect
Technical Details
Message-ID: <s4rt83h1eg7ur1cd8dua5cqberpjnlpr13@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <468ec508@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9e1e83f08c218dc2
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: CreateDialogIndirect and DLGTEMPLATE
Date: Fri, 06 Jul 2007 18:45:51 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <s4rt83h1eg7ur1cd8dua5cqberpjnlpr13@4ax.com>
References: <468ec508@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 69.69.87.130
X-Trace: newsgroups.borland.com 1183772747 69.69.87.130 (6 Jul 2007 18:45:47 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail