![]() |
CreatePicture and DrawIconEx |
Post Reply
|
| Author | |
lionello
Groupie
Joined: 23 September 2005 Location: Italy Status: Offline Points: 26 |
Post Options
Thanks(0)
Quote Reply
Topic: CreatePicture and DrawIconExPosted: 07 November 2007 at 3:22am |
|
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) |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 November 2007 at 4:12am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 November 2007 at 2:18am |
|
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
|
|
![]() |
|
lionello
Groupie
Joined: 23 September 2005 Location: Italy Status: Offline Points: 26 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 November 2007 at 8:08am |
|
Please, you can answer?
Thanks
|
|
![]() |
|
lionello
Groupie
Joined: 23 September 2005 Location: Italy Status: Offline Points: 26 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 November 2007 at 2:39am |
|
HELLO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Please, you can answer?
Thanks
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
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 |