GetImage Icons are 16 colors not 256 |
Post Reply |
Author | |
XiMaker
Groupie Joined: 11 December 2009 Location: United States Status: Offline Points: 23 |
Post Options
Thanks(0)
Posted: 11 December 2009 at 1:38pm |
I'm using the Command Bars to add Tabs to my MDI workspace and including Icons from the selected item in the TaskPanel control. I am using the CommandBars.Icons.GetImage(Control.IconId, 32) to get the icon from the command bars and passing that through a subroutine
Function Add2(tClass As String, img As ImageManagerIcon) As Boolean - in this routine I am setting the child MDI form Icon using the img that was passed from the commandbars Set frmP.Icon = img.CreatePicture(xtpImageNormal) the image shows but for some reason the image is only 16 colors instead of 256 - is there anything I should be doing differently Thanks |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Attach little sample with Icon you tried. Icon file you load can have 16*16 and 256*256 color - try to remove 16*16.
|
|
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 |