Click here to Skip to main content
15,900,461 members
Home / Discussions / C#
   

C#

 
Generalloading an xml file Pin
John L. DeVito15-Jan-05 12:48
professionalJohn L. DeVito15-Jan-05 12:48 
GeneralRe: loading an xml file Pin
Robert Rohde15-Jan-05 19:02
Robert Rohde15-Jan-05 19:02 
GeneralParse RTF to HTML Pin
vargasbo15-Jan-05 11:08
vargasbo15-Jan-05 11:08 
GeneralRe: Parse RTF to HTML Pin
Heath Stewart16-Jan-05 9:23
protectorHeath Stewart16-Jan-05 9:23 
GeneralRe: Parse RTF to HTML Pin
Anonymous21-Jan-05 9:34
Anonymous21-Jan-05 9:34 
GeneralRe: Parse RTF to HTML Pin
Heath Stewart21-Jan-05 13:14
protectorHeath Stewart21-Jan-05 13:14 
GeneralAlpha Channel in DirectX Pin
Rob Tomson15-Jan-05 9:35
Rob Tomson15-Jan-05 9:35 
GeneralRe: Alpha Channel in DirectX Pin
Heath Stewart16-Jan-05 9:15
protectorHeath Stewart16-Jan-05 9:15 
.bmp does not support alpha channels, nor does .jpg, .gif, or .tiff. .gif only supports an indexed color to serve as a transparency, which is the same as what is done for 24-bit and lower .ico files. .png does support alpha channels. You can find lots of information about image formats by searching the web, but this forum is not the appropriate place for questions not related to using C#. You can also use Image.IsAlphaPixelFormat on each member of the PixelFormat enumeration to see which ones that GDI+ (which .NET uses for the graphics classes) supports support alpha channels.

If you're question is about how to use such images in C# then see the Image class in the .NET Framework SDK. Managed DirectX can also make use of these, as well as native code. Use Bitmap.GetHbitmap to get an IntPtr that represents the HBITMAP (native handle to a bitmap data structure, which describes about any image format) for calls to native APIs that require an HBITMAP.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralUse Graphics classes in a class library Pin
Anonymous15-Jan-05 9:09
Anonymous15-Jan-05 9:09 
GeneralRe: Use Graphics classes in a class library Pin
leppie15-Jan-05 9:17
leppie15-Jan-05 9:17 
GeneralRe: Use Graphics classes in a class library Pin
Skynyrd15-Jan-05 13:00
Skynyrd15-Jan-05 13:00 
QuestionMonitor Sharing? Pin
Rob Tomson15-Jan-05 8:43
Rob Tomson15-Jan-05 8:43 
AnswerRe: Monitor Sharing? Pin
Colin Angus Mackay15-Jan-05 11:47
Colin Angus Mackay15-Jan-05 11:47 
AnswerRe: Monitor Sharing? Pin
Robert Rohde15-Jan-05 19:05
Robert Rohde15-Jan-05 19:05 
GeneralDown Arrow Key Pin
Umair Ahmad khan15-Jan-05 8:34
Umair Ahmad khan15-Jan-05 8:34 
GeneralRe: Down Arrow Key Pin
Peter Molnar15-Jan-05 13:55
Peter Molnar15-Jan-05 13:55 
GeneralRe: Down Arrow Key Pin
Umair Ahmad khan15-Jan-05 20:21
Umair Ahmad khan15-Jan-05 20:21 
GeneralRe: Down Arrow Key Pin
Umair Ahmad khan16-Jan-05 4:26
Umair Ahmad khan16-Jan-05 4:26 
GeneralRe: Down Arrow Key Pin
Peter Molnar16-Jan-05 10:45
Peter Molnar16-Jan-05 10:45 
GeneralOdd Exception in Event :: Help!?!?! Pin
flip_trickle15-Jan-05 7:31
flip_trickle15-Jan-05 7:31 
GeneralRe: Odd Exception in Event :: Help!?!?! Pin
Robert Rohde15-Jan-05 7:51
Robert Rohde15-Jan-05 7:51 
GeneralRe: Odd Exception in Event :: Help!?!?! Pin
flip_trickle15-Jan-05 8:30
flip_trickle15-Jan-05 8:30 
GeneralRe: Odd Exception in Event :: Help!?!?! Pin
flip_trickle15-Jan-05 8:32
flip_trickle15-Jan-05 8:32 
GeneralSystem.IO file/directory syntax question... Pin
new_phoenix15-Jan-05 7:04
new_phoenix15-Jan-05 7:04 
GeneralRe: System.IO file/directory syntax question... Pin
Robert Rohde15-Jan-05 7:55
Robert Rohde15-Jan-05 7:55 

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.