Click here to Skip to main content
15,792,841 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: How can I draw a hexagon with children in VB.NET code? Pin
Richard MacCutchan22-Jul-12 1:19
mveRichard MacCutchan22-Jul-12 1:19 
GeneralRe: How can I draw a hexagon with children in VB.NET code? Pin
Tonielro22-Jul-12 1:43
Tonielro22-Jul-12 1:43 
GeneralRe: How can I draw a hexagon with children in VB.NET code? Pin
Richard MacCutchan22-Jul-12 1:52
mveRichard MacCutchan22-Jul-12 1:52 
GeneralRe: How can I draw a hexagon with children in VB.NET code? Pin
Tonielro22-Jul-12 2:15
Tonielro22-Jul-12 2:15 
GeneralRe: How can I draw a hexagon with children in VB.NET code? Pin
CDP180222-Jul-12 2:28
CDP180222-Jul-12 2:28 
GeneralRe: How can I draw a hexagon with children in VB.NET code? Pin
Tonielro22-Jul-12 2:37
Tonielro22-Jul-12 2:37 
GeneralRe: How can I draw a hexagon with children in VB.NET code? Pin
Richard MacCutchan22-Jul-12 3:01
mveRichard MacCutchan22-Jul-12 3:01 
QuestionRedirecting Window Output Pin
iPick1216-Jun-12 4:36
iPick1216-Jun-12 4: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 1:52
iPick1226-May-12 1:52 
AnswerFound the solution Pin
iPick1211-Jun-12 4:16
iPick1211-Jun-12 4:16 
GeneralRe: Found the solution Pin
spoolrd27-Jul-12 5:05
spoolrd27-Jul-12 5:05 
Questionhelp on 3d game development Pin
Emile the code master20-May-12 19:54
Emile the code master20-May-12 19:54 
AnswerRe: help on 3d game development Pin
Amarnath S3-Jun-12 22:50
professionalAmarnath S3-Jun-12 22:50 
GeneralRe: help on 3d game development Pin
Emile the code master3-Jun-12 23:24
Emile the code master3-Jun-12 23: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 7:14
Deepak97121-Apr-12 7: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 8:49
mveRichard MacCutchan21-Apr-12 8: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 9:44
professionalWes Aday21-Apr-12 9: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 6:18
iPick1226-May-12 6:18 
QuestionClamp Texture Address Mode Pin
Seeker200221-Feb-12 11:45
Seeker200221-Feb-12 11:45 
QuestionResize Canvas on bitmap Pin
pablogvivo30-Jan-12 22:20
pablogvivo30-Jan-12 22:20 
Question3d Pin
born to create23-Jan-12 17:44
born to create23-Jan-12 17:44 
AnswerRe: 3d Pin
Richard MacCutchan24-Jan-12 0:29
mveRichard MacCutchan24-Jan-12 0:29 
GeneralRe: 3d Pin
CDP180224-Jan-12 0:47
CDP180224-Jan-12 0:47 
GeneralRe: 3d Pin
Richard MacCutchan24-Jan-12 0:58
mveRichard MacCutchan24-Jan-12 0:58 
GeneralRe: 3d Pin
CDP180224-Jan-12 1:07
CDP180224-Jan-12 1: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.