Groups | Blog | Home
all groups > sql server dts > july 2004 >

sql server dts : Custom task icons


Darren Green
7/20/2004 1:56:34 PM
You need to add two sizes of icons into a single file. Strictly speaking you
also need different color depths.

This is probably bit over the top for a DTS icon, but gives you plenty of
info-

Creating Windows XP Icons
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html
/winxpicons.asp)

Lots of icon tools out there, as well as that built into Visual Studio, and
VS.Net is has a marginally better tool.

--
Darren Green
http://www.sqldts.com


[quoted text, click to view]

Alexander Sinitsin
7/20/2004 3:24:31 PM
Hello, All!

As far as I can see, DTS Designer utilizes icons of different sizes for task
pane (16x16) and for designer pane (32x32). But I can't use two icons for
custom task. As result, only one icon looks well. Is there some trick with
icons?

Thanks.

With best regards, Alexander Sin

Alexander Sinitsin
7/20/2004 5:05:48 PM
Hello, Darren!
You wrote on Tue, 20 Jul 2004 13:56:34 +0100:

DG> You need to add two sizes of icons into a single file. Strictly
DG> speaking you also need different color depths.

Thanks for your response, Darren. I take a lot of experiments with icons
size and color depth. I'm try to use 16x16 pixel icon (16 colors) with
32x32x16 colors and 24x24x16 colors and don't get needed result. Better
touch - use 16x16 icon. In this case on task pane icon looks well, but on
designer pane this icon is scaled and looks strange.

Your link is very educational, but not conserned with custom tasks.

Thanks.
With best regards, Alexander Sinitsin. E-mail: al_sin[dog]ukr.net

Darren Green
7/20/2004 7:02:11 PM
In message <#8NfqKmbEHA.384@TK2MSFTNGP10.phx.gbl>, Alexander Sinitsin
<al_sin@[dog].invalid> writes
[quoted text, click to view]

Check out the "Icon Color Size Tester" download I've just put up here,
last one on the page-

Sample Code & Packages
(http://www.sqldts.com/default.aspx?271)

The icon includes all sizes and two color depths, although I may have
messed up on the later. Using the icon supplied for a task registration,
I get a yellow on the task bar (16x16) and purple on the designer
(32x32).

If you open the icon in a suitable tool that allows you to see all
images in that single file you can see how it was put together, with a
different color for each size and depth combination.

[quoted text, click to view]
No, and I don't think you'll find one specific for custom tasks, but
most of the information is still relevant. Icons are icons regardless of
their display host.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org
Alexander Sinitsin
7/21/2004 11:44:42 AM

DG> I get a yellow on the task bar (16x16) and purple on the designer
DG> (32x32).

Thanks Darren!
I catch this.

I have a RES file inside my project and two icons in this file. At time of
task registering I put same value for 'Task location' and 'Icon location'
(DLL contain two icons). In this case only one icon used.

If we will create ICO file with two icons inside, and use this file at time
of task registering, DTS will utilize both icons.

So, registering procedure will be a bit harder.

Thanks for your help.

AddThis Social Bookmark Button