Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XP style icons

1 view
Skip to first unread message

Sudesh

unread,
Aug 29, 2006, 7:45:30 AM8/29/06
to
Hello:

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


JD

unread,
Aug 29, 2006, 11:09:25 AM8/29/06
to

"Sudesh" <sud...@vfemail.net> wrote:
>
> ToolBar and ImageList cannot handle big icons??

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

Remy Lebeau (TeamB)

unread,
Aug 29, 2006, 12:35:13 PM8/29/06
to

"JD" <nos...@nospam.com> wrote in message
news:44f4...@newsgroups.borland.com...

> > 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


Sudesh

unread,
Aug 29, 2006, 3:03:59 PM8/29/06
to
Thanks JD and Remy.
sudesh


Michael Philippenko

unread,
Sep 5, 2006, 10:21:05 AM9/5/06
to
Dear Sudesh!

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

http://www.fast-report.com

0 new messages