Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - ImageManagerIcon dc?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ImageManagerIcon dc?

 Post Reply Post Reply
Author
Message
rupert View Drop Down
Newbie
Newbie


Joined: 28 August 2007
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote rupert Quote  Post ReplyReply Direct Link To This Post Topic: ImageManagerIcon dc?
    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.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 31 January 2008 at 12:48am
Hi,
Use CreatePicture method to convert icon to picture.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
rupert View Drop Down
Newbie
Newbie


Joined: 28 August 2007
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote rupert Quote  Post ReplyReply Direct Link To This Post 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.
 
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
rupert View Drop Down
Newbie
Newbie


Joined: 28 August 2007
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote rupert Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.152 seconds.