Click here to Skip to main content
15,890,506 members
Home / Discussions / C#
   

C#

 
QuestionSending byte arrays using sockets Pin
Steven M Hunt23-Jun-06 11:31
Steven M Hunt23-Jun-06 11:31 
AnswerRe: Sending byte arrays using sockets Pin
Jun Du23-Jun-06 12:26
Jun Du23-Jun-06 12:26 
AnswerRe: Sending byte arrays using sockets Pin
Nader Elshehabi24-Jun-06 3:07
Nader Elshehabi24-Jun-06 3:07 
QuestionError while running CLR Stored Procedure. Pin
AJAIN123-Jun-06 9:57
AJAIN123-Jun-06 9:57 
Questiondata grid - how to do copy/paste Pin
dineshdineshdinesh23-Jun-06 9:32
dineshdineshdinesh23-Jun-06 9:32 
QuestionAdvice Troubleshooting Memory Leaks Using PInvoke Pin
redfish3423-Jun-06 9:20
redfish3423-Jun-06 9:20 
AnswerRe: Advice Troubleshooting Memory Leaks Using PInvoke Pin
Dan Neely23-Jun-06 9:42
Dan Neely23-Jun-06 9:42 
Question2D in D3D Pin
_Comet_Keeper_23-Jun-06 9:15
_Comet_Keeper_23-Jun-06 9:15 
Hallo,

I saw that ddraw was removed in dx9, so we must use d3d to create 2d-games/graph.

Ok, I read about textures and sprite.draw2d etc.

The problem is:

I use, for test, mspaint to draw the sprite (bitmap 256 colors) with white as a background color.

I didn't understand how telle to d3d to remove the background and draw only the sprite, say a red man on white background: how can I draw only the man without the white background??? Using alpha color for black: Color.FromArgb(0xff,Color.White).ToArgb(); d3d draw the white color as a black opaque and no trnasparent, so the sprite background cover the scene-color.

In simpler words when I draw the sprite in a device cleared with color blue the result is: the device totally blue and in the middle a black rectangle with the red man inside.

Hope I explained right Smile | :)

Thank you
CometKeeper... A Dreams Guardian... (Italy)
Questionsend a file Pin
waheed awan23-Jun-06 7:47
waheed awan23-Jun-06 7:47 
AnswerRe: send a file Pin
Jun Du23-Jun-06 7:58
Jun Du23-Jun-06 7:58 
GeneralRe: send a file Pin
waheed awan23-Jun-06 8:05
waheed awan23-Jun-06 8:05 
GeneralRe: send a file Pin
Jun Du23-Jun-06 8:31
Jun Du23-Jun-06 8:31 
Questionservice on window Pin
waheed awan23-Jun-06 7:40
waheed awan23-Jun-06 7:40 
AnswerRe: service on window Pin
Jun Du23-Jun-06 8:03
Jun Du23-Jun-06 8:03 
AnswerRe: service on window Pin
Dave Kreskowiak23-Jun-06 8:07
mveDave Kreskowiak23-Jun-06 8:07 
QuestionEmbedded Resources Pin
Atlantaazfinest23-Jun-06 7:30
Atlantaazfinest23-Jun-06 7:30 
AnswerRe: Embedded Resources Pin
Josh Smith23-Jun-06 8:18
Josh Smith23-Jun-06 8:18 
GeneralRe: Embedded Resources Pin
Atlantaazfinest23-Jun-06 8:30
Atlantaazfinest23-Jun-06 8:30 
QuestionForm Focus Pin
Cubzfan23-Jun-06 7:27
Cubzfan23-Jun-06 7:27 
QuestionRe: Form Focus Pin
Jun Du23-Jun-06 7:53
Jun Du23-Jun-06 7:53 
AnswerRe: Form Focus Pin
Cubzfan23-Jun-06 8:07
Cubzfan23-Jun-06 8:07 
GeneralRe: Form Focus Pin
Jun Du23-Jun-06 8:22
Jun Du23-Jun-06 8:22 
AnswerRe: Form Focus Pin
Dave Kreskowiak23-Jun-06 8:03
mveDave Kreskowiak23-Jun-06 8:03 
AnswerRe: Form Focus [modified] Pin
Nader Elshehabi23-Jun-06 10:48
Nader Elshehabi23-Jun-06 10:48 
Questioncompile a project Pin
waheed awan23-Jun-06 6:56
waheed awan23-Jun-06 6:56 

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.