Click here to Skip to main content
16,005,389 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC and OpenGL Pin
Nemanja Trifunovic25-Oct-01 11:07
Nemanja Trifunovic25-Oct-01 11:07 
GeneralRe: MFC and OpenGL Pin
#realJSOP25-Oct-01 11:29
professional#realJSOP25-Oct-01 11:29 
GeneralRe: MFC and OpenGL Pin
Nemanja Trifunovic25-Oct-01 11:38
Nemanja Trifunovic25-Oct-01 11:38 
GeneralRe: MFC and OpenGL Pin
Christian Graus25-Oct-01 12:05
protectorChristian Graus25-Oct-01 12:05 
GeneralRe: MFC and OpenGL Pin
Christian Graus25-Oct-01 12:12
protectorChristian Graus25-Oct-01 12:12 
GeneralRe: MFC and OpenGL Pin
29-Oct-01 2:12
suss29-Oct-01 2:12 
GeneralRe: MFC and OpenGL Pin
29-Oct-01 2:13
suss29-Oct-01 2:13 
GeneralRe: MFC and OpenGL Pin
Todd Smith25-Oct-01 13:25
Todd Smith25-Oct-01 13:25 
1. Make sure your window is created with CS_OWNDC
2. Make sure you've select a double buffered rendering mode
3. You can optionally stop rendering while the user drags the window. This is usually desirable anyways. If you want to drag with the image then consider buffering the image yourself with glcopypixels or something similar. Then do a blit while you drag instead of a render. That works well for CAD style apps where rendering may not be real-time.

I've seen the rendering bleed outside the window. I forget the specifics as to why it happends but it doesn't always happen with all video cards.

Todd Smith


GeneralRe: MFC and OpenGL Pin
29-Oct-01 2:19
suss29-Oct-01 2:19 
GeneralMenu message handler wont work! Pin
25-Oct-01 8:39
suss25-Oct-01 8:39 
GeneralRe: Menu message handler wont work! Pin
Tomasz Sowinski25-Oct-01 8:45
Tomasz Sowinski25-Oct-01 8:45 
GeneralRe: Menu message handler wont work! Pin
25-Oct-01 9:10
suss25-Oct-01 9:10 
GeneralRe: Menu message handler wont work! Pin
Tomasz Sowinski25-Oct-01 9:13
Tomasz Sowinski25-Oct-01 9:13 
GeneralRe: Menu message handler wont work! Pin
25-Oct-01 9:46
suss25-Oct-01 9:46 
GeneralRe: Menu message handler wont work! Pin
Tomasz Sowinski25-Oct-01 9:57
Tomasz Sowinski25-Oct-01 9:57 
GeneralRe: Menu message handler wont work! Pin
25-Oct-01 10:11
suss25-Oct-01 10:11 
GeneralRe: Menu message handler wont work! Pin
Tomasz Sowinski25-Oct-01 10:16
Tomasz Sowinski25-Oct-01 10:16 
GeneralRe: Menu message handler wont work! Pin
25-Oct-01 10:22
suss25-Oct-01 10:22 
GeneralRe: Menu message handler wont work! Pin
Christian Graus25-Oct-01 10:05
protectorChristian Graus25-Oct-01 10:05 
GeneralRe: Menu message handler wont work! Pin
25-Oct-01 10:17
suss25-Oct-01 10:17 
GeneralRe: Menu message handler wont work! Pin
Christian Graus25-Oct-01 10:30
protectorChristian Graus25-Oct-01 10:30 
GeneralRe: Menu message handler wont work! Pin
25-Oct-01 10:38
suss25-Oct-01 10:38 
GeneralRe: Menu message handler wont work! Pin
Christian Graus25-Oct-01 10:46
protectorChristian Graus25-Oct-01 10:46 
GeneralRe: Menu message handler wont work! Pin
25-Oct-01 10:51
suss25-Oct-01 10:51 
GeneralRe: Menu message handler wont work! Pin
Christian Graus25-Oct-01 11:51
protectorChristian Graus25-Oct-01 11:51 

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.