LoadIconFromResource Method |
Post Reply |
Author | |
nighthawk
Senior Member Joined: 11 June 2004 Status: Offline Points: 167 |
Post Options
Thanks(0)
Posted: 27 November 2008 at 4:16pm |
I was looking at the new LoadIconFromResource method added to 12.1. The documentation doesn't say what several of the parameters are. Can you explain what the Module, Resource, and Command parameters refer to? Perhaps also give an example?
|
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 |
|
nighthawk
Senior Member Joined: 11 June 2004 Status: Offline Points: 167 |
Post Options
Thanks(0)
|
Well, I realized the LoadBitmapFromResource method has the same parameters so I can see now what the Resource and Command parameters do.
I'm still having a little trouble with the Module parameter. My resource file is currently stored in my programs executable file. How do I get the handle to the currently running executable? |
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Use App.hInstance to get handle. But you have compile app and run as exe.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |