![]() |
ImageManagerIcon dc? |
Post Reply ![]() |
Author | |
rupert ![]() Newbie ![]() Joined: 28 August 2007 Location: United States Status: Offline Points: 13 |
![]() ![]() ![]() ![]() ![]() Posted: 30 January 2008 at 7:13pm |
Does the ImageManagerIcon have a DC that I can use? I will to get the icon in a StdPicture format that I can use in other controls. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Use CreatePicture method to convert icon to picture.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
rupert ![]() Newbie ![]() Joined: 28 August 2007 Location: United States Status: Offline Points: 13 |
![]() ![]() ![]() ![]() ![]() |
Does CreatePicture return a StdPicture? I keep getting nothing when I try to reference the object returned by CreatePicture.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Yes StdPicture. But StdPicture doesn't support AlphaIcons :( If your Icon is Alpha it returns NULL.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
rupert ![]() Newbie ![]() Joined: 28 August 2007 Location: United States Status: Offline Points: 13 |
![]() ![]() ![]() ![]() ![]() |
Ah, that explains why it fails. Any suggestions to get around it. I want to pass a HBitmap handle to a C# app from my VB6 app. Thank you. |
|
![]() |
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 |