ToolBar and ImageList cannot handle big icons??
What are the specifications of XP style icons and where can I get these or
how can create these? Which button component can show such icons?
Thanks,
Sudesh
I presume that you mean color depth and not physical size?
If so, yes they can.
> What are the specifications of XP style icons
No such animal exists. Color depth is the only issue. Well,
XP does support (in some cases) an Alpha Channel.
> where can I get these
Google? Screen capture?
> or how can create these?
The Paint that comes with Windows works fine for me but I
haven't used the Alpha Channel in which case (I think) you'll
need something else.
> Which button component can show such icons?
I would expect those that use an ImageList to handle them
without any effort (once you set the ImageList correctly). I
would also expect that for some, you'd have to draw the Image
yourself.
Try creating a test image that is saved as a 32-bit bitmap
and then add it to an ImageList that is assigned to the
TToolBar. Then add this code to the constructor of the form:
TImageList *TmpList = new TImageList( this );
try
{
TmpList->Assign( ImageList1 );
ImageList1->Handle = ImageList_Create( ImageList1->Width, ImageList1->Height, ILC_COLOR32 | ILC_MASK, 0, 4 );
ImageList1->AddImages( TmpList );
}
__finally
{
delete TmpList;
}
~ JD
> > What are the specifications of XP style icons
>
> No such animal exists.
Actually, there is:
Creating Windows XP Icons
http://msdn.microsoft.com/library/en-us/dnwxp/html/winxpicons.asp
Gambit
Tuesday, August 29, 2006, 3:45:30 PM, you wrote:
S> ToolBar and ImageList cannot handle big icons??
S> What are the specifications of XP style icons and where can I get these or
S> how can create these? Which button component can show such icons?
You can order exclusive icons on vibe.ru
--
Best regards,
Michael Philippenko mailto:mic...@fast-report.com
Fast Reports - cross-platform multi-language solutions for developers