Click here to Skip to main content
15,889,315 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: Stereo Cameras and OpenCV Pin
Tim Craig7-Nov-08 13:32
Tim Craig7-Nov-08 13:32 
GeneralRe: Stereo Cameras and OpenCV Pin
MikeMarq8-Nov-08 9:07
MikeMarq8-Nov-08 9:07 
GeneralRe: Stereo Cameras and OpenCV Pin
Tim Craig8-Nov-08 14:50
Tim Craig8-Nov-08 14:50 
QuestionAnother DirectShow Problem Pin
KaldaP3-Nov-08 9:35
KaldaP3-Nov-08 9:35 
Questionorigami Pin
migraine2-Nov-08 3:06
migraine2-Nov-08 3:06 
AnswerRe: origami Pin
Tim Craig2-Nov-08 16:58
Tim Craig2-Nov-08 16:58 
AnswerRe: origami Pin
Smithers-Jones5-Nov-08 0:26
Smithers-Jones5-Nov-08 0:26 
QuestionTransparent rectangle in GDI Pin
Heptagonal1-Nov-08 13:17
Heptagonal1-Nov-08 13:17 
Hi,

I've been trying to display a transparent rectangle using standard Win32/GDI coding now for at least an hour. I've searched in tons of places, but I just can't get it working. This is my current code:

RECT r = GetRect(); // That's not really what the function is called, but you get the gist...

HBRUSH brush = CreateSolidBrush(RGB(0x00, 0xD7, 0xEC));	
FillRect(hdc, &r, brush);
DeleteObject(brush);


That displays fine, but it displays a completely opaque rectangle and I'm clueless on how to go about making it transparent.

Any help is very much appreciated!
Thanks,
Martin
AnswerRe: Transparent rectangle in GDI Pin
Perspx1-Nov-08 13:54
Perspx1-Nov-08 13:54 
GeneralRe: Transparent rectangle in GDI Pin
Heptagonal1-Nov-08 21:58
Heptagonal1-Nov-08 21:58 
AnswerRe: Transparent rectangle in GDI [modified] Pin
Mark Salsbery1-Nov-08 16:05
Mark Salsbery1-Nov-08 16:05 
QuestionCImg Pin
jarabu30-Oct-08 17:27
jarabu30-Oct-08 17:27 
QuestionTCL\TK openGL Pin
pallaka28-Oct-08 22:52
pallaka28-Oct-08 22:52 
GeneralOpenCV Pin
ramvvs22-Oct-08 22:51
ramvvs22-Oct-08 22:51 
GeneralRe: OpenCV [modified] Pin
Tim Craig23-Oct-08 19:26
Tim Craig23-Oct-08 19:26 
QuestionOpenGL, DirectDraw or Direct3D Pin
Running Fool22-Oct-08 12:03
Running Fool22-Oct-08 12:03 
Questionopengl, loading picture on the surface. Pin
rkata20-Oct-08 4:47
rkata20-Oct-08 4:47 
QuestionMuscles in OpenGL Pin
Michael Fritzius18-Oct-08 10:19
professionalMichael Fritzius18-Oct-08 10:19 
QuestionSimple way to learn directx Pin
ripsware16-Oct-08 8:02
ripsware16-Oct-08 8:02 
AnswerRe: Simple way to learn directx Pin
KaldaP17-Oct-08 9:29
KaldaP17-Oct-08 9:29 
GeneralRe: Simple way to learn directx Pin
ripsware17-Oct-08 9:39
ripsware17-Oct-08 9:39 
GeneralRe: Simple way to learn directx Pin
Mark Salsbery18-Oct-08 9:20
Mark Salsbery18-Oct-08 9:20 
AnswerRe: Simple way to learn directx Pin
quakeboy29-Oct-08 0:04
quakeboy29-Oct-08 0:04 
Questiondrawing a room Pin
guyadika15-Oct-08 10:19
guyadika15-Oct-08 10:19 
AnswerRe: drawing a room Pin
guyadika15-Oct-08 10:20
guyadika15-Oct-08 10: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.