🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to get the Resource Identifier

#12987
From: Ed Mulroy [TeamB]
Date: Sun, 02 Nov 2003 16:19
24 lines
1437 bytes
There is a Windows macro for that.

MAKEINTRESOUCE(ID_VALUE)

That is Make Int Resource in caps with no spaces.  ID_VALUE is usually a
#define

.  Ed

> setankabir wrote in message
> news:3fa488af@newsgroups.borland.com...
> How to get the Resource Identifier (idBitmap)
> needed in a function like:
>
> HBITMAP CreateMappedBitmap(
>
>     HINSTANCE hInstance,
>     int idBitmap,
>     UINT wFlags,
>     LPCOLORMAP lpColorMap,
>     int iNumMaps
>    );
>
> the idBitmap is an integer, not resource name.
Technical Details
Message-ID: <3fa52e80@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fa488af@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a5d7f83f2003970b
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-02 08:39:27 PST
From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fa488af@newsgroups.borland.com>
Subject: Re: How to get the Resource Identifier
Date: Sun, 2 Nov 2003 11:19:04 -0500
Lines: 26
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.1106
NNTP-Posting-Host: 24.74.175.102
Message-ID: <3fa52e80@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067789952 24.74.175.102 (2 Nov 2003 08:19:12 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail