Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - ImageManager returns wrong handle
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ImageManager returns wrong handle

 Post Reply Post Reply
Author
Message
mlatona View Drop Down
Senior Member
Senior Member


Joined: 19 April 2005
Location: Germany
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlatona Quote  Post ReplyReply Direct Link To This Post Topic: ImageManager returns wrong handle
    Posted: 31 October 2007 at 9:25am
The property 'handle' returns always 0.
 
Code example:
ImageManager.Icons.GetImage(1, 16).Handle
 
 
Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Posted: 31 October 2007 at 9:31am
ImageManager.Icons.GetImage(1, 16).Handle
 
Is 1 your ID of the Immage ?
For GetImage you must use the ID not the Index.
Back to Top
mlatona View Drop Down
Senior Member
Senior Member


Joined: 19 April 2005
Location: Germany
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlatona Quote  Post ReplyReply Direct Link To This Post Posted: 31 October 2007 at 10:28am
1 is the ID.
I think, it`s a bug in 11.2.1 beta.
 
The same code works in 11.2.0
 
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 October 2007 at 10:31am
Hi,
 
use CreatePicture method to convert to Icon or use Draw to draw.
See release notes.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.156 seconds.