Click here to Skip to main content
15,919,358 members
Home / Discussions / C#
   

C#

 
QuestionDummies Question: Reinvoke New Project Wizzard? Pin
Ariadne3-Jun-04 21:01
Ariadne3-Jun-04 21:01 
AnswerRe: Dummies Question: Reinvoke New Project Wizzard? Pin
Heath Stewart4-Jun-04 4:49
protectorHeath Stewart4-Jun-04 4:49 
GeneralRe: Dummies Question: Reinvoke New Project Wizzard? Pin
Ariadne4-Jun-04 5:18
Ariadne4-Jun-04 5:18 
GeneralRe: Dummies Question: Reinvoke New Project Wizzard? Pin
Heath Stewart4-Jun-04 5:25
protectorHeath Stewart4-Jun-04 5:25 
GeneralRe: Dummies Question: Reinvoke New Project Wizzard? Pin
Ariadne6-Jun-04 20:28
Ariadne6-Jun-04 20:28 
GeneralCheckBox in DataGrid Pin
The_Soul_Of_Rock3-Jun-04 20:29
The_Soul_Of_Rock3-Jun-04 20:29 
GeneralRe: CheckBox in DataGrid Pin
Jay Shankar3-Jun-04 22:23
Jay Shankar3-Jun-04 22:23 
GeneralOk i need help, but you knew that didn't you Pin
MeterMan3-Jun-04 20:27
MeterMan3-Jun-04 20:27 
GeneralRe: Ok i need help, but you knew that didn't you Pin
Heath Stewart4-Jun-04 4:39
protectorHeath Stewart4-Jun-04 4:39 
GeneralAdd Ins Pin
SatyaDY3-Jun-04 18:47
SatyaDY3-Jun-04 18:47 
GeneralRe: Add Ins Pin
Wackatronic4-Jun-04 1:06
Wackatronic4-Jun-04 1:06 
Generalversion Pin
sreejith ss nair3-Jun-04 17:20
sreejith ss nair3-Jun-04 17:20 
GeneralRe: version Pin
Heath Stewart3-Jun-04 17:59
protectorHeath Stewart3-Jun-04 17:59 
GeneralMSDASC.DataLinks PromptNew() Pin
inyoursadachine3-Jun-04 16:44
inyoursadachine3-Jun-04 16:44 
GeneralRe: MSDASC.DataLinks PromptNew() Pin
Heath Stewart3-Jun-04 18:28
protectorHeath Stewart3-Jun-04 18:28 
GeneralRe: MSDASC.DataLinks PromptNew() Pin
inyoursadachine3-Jun-04 18:44
inyoursadachine3-Jun-04 18:44 
GeneralControll Scrolling Programactically Pin
TaoLi3-Jun-04 16:36
TaoLi3-Jun-04 16:36 
GeneralRe: Controll Scrolling Programactically Pin
Heath Stewart3-Jun-04 17:51
protectorHeath Stewart3-Jun-04 17:51 
QuestionNotifyIcon app: how to show the context menu? Pin
wangdave3-Jun-04 15:56
wangdave3-Jun-04 15:56 
AnswerRe: NotifyIcon app: how to show the context menu? Pin
Heath Stewart3-Jun-04 17:46
protectorHeath Stewart3-Jun-04 17:46 
QuestionDrawing in different ways ??? Pin
sachinkalse3-Jun-04 15:21
sachinkalse3-Jun-04 15:21 
AnswerRe: Drawing in different ways ??? Pin
Heath Stewart3-Jun-04 17:39
protectorHeath Stewart3-Jun-04 17:39 
GeneralNice antialiased icons Pin
XanderSon3-Jun-04 14:38
XanderSon3-Jun-04 14:38 
GeneralRe: Nice antialiased icons Pin
Heath Stewart3-Jun-04 17:16
protectorHeath Stewart3-Jun-04 17:16 
You need a program that can do that. Typically, these icons are created in a decent graphics program like Adobe Photoshop using alpha channels (not just anti-aliasing, which requires a background color to blend with). You can then use a program to save the images (some can even read PSD files, but you typically save the images, or frames, in a format that supports alpha channels like PNG) as icons, like IconWorkshop, from Axialis[^], which I like and use.

Then, you simply use these in your .NET applications. You can, for instance, create an ImageList with 32-bit colors (to support the alpha channel). There is a problem, though: the ImageList contains a bug where the alpha channel is typically lost. You can help this by placing a .manifest file in the same directory as your executable (using the executable name + .manifest). This binds the GDI+ ImageList to Windows Common Controls 6, which features alpha channels. See my article, Windows XP Visual Styles for Windows Forms[^] for a brief overview of the .manifest file. Other articles here on CodeProject discuss other ways to get around this bug.

You can also load these images or icons yourself using other classes in the System.Drawing namepsace, such as the Bitmap class. Read the .NET Framework SDK documentation for more information.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Nice antialiased icons Pin
leppie4-Jun-04 7:20
leppie4-Jun-04 7:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.