![]() |
CreatePicture and DrawIconEx |
Post Reply ![]() |
Author | |
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() Posted: 28 November 2007 at 2:45am |
Hi,
Sorry, we agree this problem and prepare 11.2.2 with the fix. If you need it right now, please open ticket, I will attach fixed file.
Thank you
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
lionello ![]() Groupie ![]() Joined: 23 September 2005 Location: Italy Status: Offline Points: 26 |
![]() ![]() ![]() ![]() ![]() |
HELLO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Please, you can answer?
Thanks
|
|
![]() |
|
lionello ![]() Groupie ![]() Joined: 23 September 2005 Location: Italy Status: Offline Points: 26 |
![]() ![]() ![]() ![]() ![]() |
Please, you can answer?
Thanks
|
|
![]() |
|
lionello ![]() Groupie ![]() Joined: 23 September 2005 Location: Italy Status: Offline Points: 26 |
![]() ![]() ![]() ![]() ![]() |
We cannot use the method draw why the rendering it comes made from an other generic ruotine that receives a StdPicture parameter.
But the method "oCommandBarsImageList.Icons.GetImage(Val(sPathName), 16).CreatePicture(xtpImageNormal)" does not create a standard StdPicture that can be used with DrawIconEx?...like 11.2.0?
Thanks
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
We very recommend use Draw method of ImageIcon instead.
as you can see release notes we reworked ImageManager class.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
lionello ![]() Groupie ![]() Joined: 23 September 2005 Location: Italy Status: Offline Points: 26 |
![]() ![]() ![]() ![]() ![]() |
This code don't work with 11.2.1.
With the 11.2.0 it worked.
Why?
Best regards
Thanks
-------------------------------------------------------------------------------------------
Dim PicSource As StdPicture
Set PicSource = oCommandBarsImageList.Icons.GetImage(12345).CreatePicture(xtpImageNormal)
Call DrawIconEx(hdcDest, xDest, yDest, PicSource.Handle, Width, Height, 0, 0, 3) |
|
![]() |
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 |