🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.vcl.components.using.dotnet
2 messages
2 total messages Started by Simon Tue, 03 Oct 2006 03:44
LoadFromResourceName
#204
Author: Simon
Date: Tue, 03 Oct 2006 03:44
13 lines
1219 bytes
Hello,

in Delphi 5 I used:
aBitMap.LoadFromResourceName(hInstance,'BITMAP')
to get a Bitmap from a resource.

How can I do that in Delphi 2006 VCL.NET ?
I don't know how to get hInstance.
And: how can I make a Bitmap-Resource in Delphi 2006?

Thanks and regards.

Simon 
Re: LoadFromResourceName
#205
Author: David Wilcockson
Date: Mon, 16 Oct 2006 09:26
1 lines
977 bytes
Add WinUtils to your uses clause 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads