Article View: borland.public.cppbuilder.nativeapi
Article #11872Re: Using DialogBox api.
From: Mike Collins
Date: Tue, 13 Jan 2004 18:49
Date: Tue, 13 Jan 2004 18:49
22 lines
1888 bytes
1888 bytes
> > MAKEINTRESOURCE (1), > > I would not suggest you use such low numbers for your own IDs. > It was only intended as a test, think the problem was with the HINSTANCE and HWND, although haven't had time to test yet, but I do take on board the prossibilty of resource items having the same ID. > You can't do that. The IDE won't allow it. It will always re-create the > .res file if it is missing. Instead, you should be simply giving your > dialogs more unique IDs, or just use names instad of numeric values to begin > with. Grandted, the IDE does auto create the resource file but I edited the .bpr.xml file and altered the <RESFILES value="app_resource.res"/> tag, doesn;t seem to cause a problem. I removed it originally because the resources were becoming corrupted when RLINK stuck together the auto generated resource and my own resource. Thanks anyway, will test not.
Technical Details
Message-ID:
<40043a7e@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-mailReferences:
<4003ecbc$2@newsgroups.borland.com> <40042ed8$2@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,369c982ee23b43f4 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-13 10:40:25 PST Reply-To: "Mike Collins" <mikec@kr8.co.uk> From: "Mike Collins" <mikec@kr8.co.uk> Newsgroups: borland.public.cppbuilder.nativeapi References: <4003ecbc$2@newsgroups.borland.com> <40042ed8$2@newsgroups.borland.com> Subject: Re: Using DialogBox api. Date: Tue, 13 Jan 2004 18:49:14 -0000 Lines: 24 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: <40043a7e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1074018942 81.2.78.34 (13 Jan 2004 10:35:42 -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