Print Page | Close Window

ImageManagerIcon dc?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=9448
Printed Date: 08 October 2024 at 10:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ImageManagerIcon dc?
Posted By: rupert
Subject: ImageManagerIcon dc?
Date 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.




Replies:
Posted By: Oleg
Date Posted: 31 January 2008 at 12:48am
Hi,
Use CreatePicture method to convert icon to picture.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: rupert
Date Posted: 01 February 2008 at 9:59pm
Does CreatePicture return a StdPicture? I keep getting nothing when I try to reference the object returned by CreatePicture.
 
 


Posted By: Oleg
Date Posted: 03 February 2008 at 4:06am
Yes StdPicture. But StdPicture doesn't support AlphaIcons :( If your Icon is Alpha it returns NULL.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: rupert
Date Posted: 03 February 2008 at 10:16am

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.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net