Click here to Skip to main content
15,868,164 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: How can I draw a hexagon with children in VB.NET code? Pin
Richard MacCutchan22-Jul-12 0:19
mveRichard MacCutchan22-Jul-12 0:19 
GeneralRe: How can I draw a hexagon with children in VB.NET code? Pin
Tonielro22-Jul-12 0:43
Tonielro22-Jul-12 0:43 
GeneralRe: How can I draw a hexagon with children in VB.NET code? Pin
Richard MacCutchan22-Jul-12 0:52
mveRichard MacCutchan22-Jul-12 0:52 
GeneralRe: How can I draw a hexagon with children in VB.NET code? Pin
Tonielro22-Jul-12 1:15
Tonielro22-Jul-12 1:15 
GeneralRe: How can I draw a hexagon with children in VB.NET code? Pin
CDP180222-Jul-12 1:28
CDP180222-Jul-12 1:28 
GeneralRe: How can I draw a hexagon with children in VB.NET code? Pin
Tonielro22-Jul-12 1:37
Tonielro22-Jul-12 1:37 
GeneralRe: How can I draw a hexagon with children in VB.NET code? Pin
Richard MacCutchan22-Jul-12 2:01
mveRichard MacCutchan22-Jul-12 2:01 
QuestionRedirecting Window Output Pin
iPick1216-Jun-12 3:36
iPick1216-Jun-12 3:36 
Hi, I'm trying to render the contents of a window, with desktop composition disabled, on an off-screen buffer. I have no control over the window and the only thing I have is the window handle and the DC. I thought about allocating an off-screen DC and doing something like:
C
/* The window handle is stored in the
   hWnd variable and the offscreen DC,
   is in hDC */
PostMessage(hWnd, WM_ERASEBKGND,
            (WPARAM)hMemDC, 0);
PostMessage(hWnd, WM_PAINT, 0, 0);

But it doesn't seem to work. Please note that I don't want the application to render on the primary display DC. In other words I want to redirect it's graphical output, and blit the result in my window.

modified 16-Jun-12 9:59am.

QuestionGDI OpenGL composition Pin
iPick1226-May-12 0:52
iPick1226-May-12 0:52 
AnswerFound the solution Pin
iPick1211-Jun-12 3:16
iPick1211-Jun-12 3:16 
GeneralRe: Found the solution Pin
spoolrd27-Jul-12 4:05
spoolrd27-Jul-12 4:05 
Questionhelp on 3d game development Pin
Emile the code master20-May-12 18:54
Emile the code master20-May-12 18:54 
AnswerRe: help on 3d game development Pin
Amarnath S3-Jun-12 21:50
professionalAmarnath S3-Jun-12 21:50 
GeneralRe: help on 3d game development Pin
Emile the code master3-Jun-12 22:24
Emile the code master3-Jun-12 22:24 
Questionthe bellow code contains some logical errors.in this code food(),poison food() functions will only work at once after execution . .please help me to correct this. Pin
Deepak97121-Apr-12 6:14
Deepak97121-Apr-12 6:14 
AnswerRe: the bellow code contains some logical errors.in this code food(),poison food() functions will only work at once after execution . .please help me to correct this. Pin
Richard MacCutchan21-Apr-12 7:49
mveRichard MacCutchan21-Apr-12 7:49 
AnswerRe: the bellow code contains some logical errors.in this code food(),poison food() functions will only work at once after execution . .please help me to correct this. Pin
Wes Aday21-Apr-12 8:44
professionalWes Aday21-Apr-12 8:44 
AnswerRe: the bellow code contains some logical errors.in this code food(),poison food() functions will only work at once after execution . .please help me to correct this. Pin
iPick1226-May-12 5:18
iPick1226-May-12 5:18 
QuestionClamp Texture Address Mode Pin
Seeker200221-Feb-12 10:45
Seeker200221-Feb-12 10:45 
QuestionResize Canvas on bitmap Pin
pablogvivo30-Jan-12 21:20
pablogvivo30-Jan-12 21:20 
Question3d Pin
born to create23-Jan-12 16:44
born to create23-Jan-12 16:44 
AnswerRe: 3d Pin
Richard MacCutchan23-Jan-12 23:29
mveRichard MacCutchan23-Jan-12 23:29 
GeneralRe: 3d Pin
CDP180223-Jan-12 23:47
CDP180223-Jan-12 23:47 
GeneralRe: 3d Pin
Richard MacCutchan23-Jan-12 23:58
mveRichard MacCutchan23-Jan-12 23:58 
GeneralRe: 3d Pin
CDP180224-Jan-12 0:07
CDP180224-Jan-12 0:07 

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.