Article View: borland.public.delphi.language.objectpascal
Article #58Loading Stock Bitmaps
From: David
Date: Sun, 25 Jan 2004 11:23
Date: Sun, 25 Jan 2004 11:23
5 lines
1260 bytes
1260 bytes
I am trying to load one of the Stock bitmaps - the close 'X' in the top left corner of a window - into a bitmap. I have found some examples of how to do it for VB but can't get it to work on Delphi. VB uses the LoadBitmapBynum API call but the few clues I have found in Delphi indicate that the .LoadFromResourceID method is the way to go. But I can't get either way to work. Does anyone have any pointers to what I should be doing? Thanks, David.
Technical Details
Message-ID:
<4013b559$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109d30,565e38e074acddf5,start X-Google-Attributes: gid109d30,public X-Google-ArrivalTime: 2004-01-25 04:39:14 PST From: "David" <dwilbourn@hotmail.com> Sender: "David" <dwilbourn@hotmail.com> Reply-To: "David" <dwilbourn@hotmail.com> Subject: Loading Stock Bitmaps Newsgroups: borland.public.delphi.language.objectpascal X-User-Info: 195.241.151.244 NNTP-Posting-Host: 207.105.83.66 Message-ID: <4013b559$1@newsgroups.borland.com> Date: 25 Jan 2004 04:23:53 -0700 X-Trace: newsgroups.borland.com 1075033433 207.105.83.66 (25 Jan 2004 04:23:53 -0700) Lines: 5 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail