Click here to Skip to main content
15,908,437 members
Home / Discussions / C#
   

C#

 
GeneralRe: Bitmaps and Unsafe Code Pin
Christian Graus24-Apr-06 12:13
protectorChristian Graus24-Apr-06 12:13 
Having read the thread, I can't believe you need to set alpha. I've never, ever had to set the fourth value, and it's not actually used for alpha by windows, unless the Bitmap object uses it.


int nOffset = stride - pane.Height *3 ;

This is wrong, you mean pane.Width. However, as you're using a 32 bit image, you don't need an offset, anyhow.


Christian Graus - Microsoft MVP - C++
QuestionHow to set ip address/hostname remotely Pin
lmyo23-Apr-06 21:48
lmyo23-Apr-06 21:48 
AnswerRe: How to set ip address/hostname remotely Pin
Ed.Poore24-Apr-06 0:33
Ed.Poore24-Apr-06 0:33 
QuestionRead mails from mail server Pin
AmitSumit23-Apr-06 21:09
AmitSumit23-Apr-06 21:09 
AnswerRe: Read mails from mail server Pin
Yuvi Panda23-Apr-06 22:59
Yuvi Panda23-Apr-06 22:59 
GeneralRe: Read mails from mail server Pin
Rob Philpott24-Apr-06 5:36
Rob Philpott24-Apr-06 5:36 
GeneralRe: Read mails from mail server Pin
AmitSumit24-Apr-06 21:11
AmitSumit24-Apr-06 21:11 
QuestionFile Systems in asp.net Pin
spokione23-Apr-06 21:03
spokione23-Apr-06 21:03 
QuestionProblem in Console application Pin
Sunny H23-Apr-06 20:59
Sunny H23-Apr-06 20:59 
AnswerRe: Problem in Console application Pin
karande2323-Apr-06 21:05
karande2323-Apr-06 21:05 
GeneralRe: Problem in Console application Pin
karande2323-Apr-06 21:11
karande2323-Apr-06 21:11 
AnswerRe: Problem in Console application Pin
HimaBindu Vejella23-Apr-06 21:45
HimaBindu Vejella23-Apr-06 21:45 
Questionthreading Pin
karande2323-Apr-06 20:55
karande2323-Apr-06 20:55 
AnswerRe: threading Pin
Robert Rohde24-Apr-06 0:09
Robert Rohde24-Apr-06 0:09 
QuestionPrevent user from opening >1 subform Pin
livez23-Apr-06 20:45
livez23-Apr-06 20:45 
AnswerRe: Prevent user from opening >1 subform Pin
Naveed Kamboh24-Apr-06 1:36
Naveed Kamboh24-Apr-06 1:36 
GeneralRe: Prevent user from opening >1 subform Pin
livez24-Apr-06 1:40
livez24-Apr-06 1:40 
AnswerRe: Prevent user from opening >1 subform Pin
The Nemesis24-Apr-06 2:44
The Nemesis24-Apr-06 2:44 
QuestionHow to Detect the CD drive and USB drives using# Pin
ranandbe23-Apr-06 19:57
ranandbe23-Apr-06 19:57 
Questionpassing string arrays between clients side and server side Pin
umaheshchandra23-Apr-06 19:53
umaheshchandra23-Apr-06 19:53 
AnswerRe: passing string arrays between clients side and server side Pin
HimaBindu Vejella23-Apr-06 23:27
HimaBindu Vejella23-Apr-06 23:27 
QuestionUse mouse in Console Application in C# Pin
Sunny H23-Apr-06 19:09
Sunny H23-Apr-06 19:09 
AnswerRe: Use mouse in Console Application in C# Pin
Christian Graus23-Apr-06 19:18
protectorChristian Graus23-Apr-06 19:18 
Questionlistview Pin
phucoi23-Apr-06 18:40
phucoi23-Apr-06 18:40 
AnswerRe: listview Pin
Naveed Kamboh23-Apr-06 23:59
Naveed Kamboh23-Apr-06 23:59 

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.