Click here to Skip to main content
15,915,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multiple files used for input to SDI Application Pin
David Crow19-Sep-03 8:39
David Crow19-Sep-03 8:39 
GeneralRe: Multiple files used for input to SDI Application Pin
b_girl18-Sep-03 10:22
b_girl18-Sep-03 10:22 
GeneralRe: Multiple files used for input to SDI Application Pin
David Crow18-Sep-03 9:44
David Crow18-Sep-03 9:44 
GeneralOpenGL in a portion of a dialog box Pin
ComboController18-Sep-03 8:12
ComboController18-Sep-03 8:12 
GeneralRe: OpenGL in a portion of a dialog box Pin
Bugra Barin18-Sep-03 8:32
Bugra Barin18-Sep-03 8:32 
GeneralRe: OpenGL in a portion of a dialog box Pin
ComboController18-Sep-03 9:00
ComboController18-Sep-03 9:00 
GeneralRe: OpenGL in a portion of a dialog box Pin
Bugra Barin18-Sep-03 13:09
Bugra Barin18-Sep-03 13:09 
GeneralRe: OpenGL in a portion of a dialog box Pin
Roger Allen19-Sep-03 2:02
Roger Allen19-Sep-03 2:02 
ComboController wrote:
A quick aside, in my OnPaint() I call the base OnPaint() function and THEN render my scene, yet the OK and CANCEL buttons still get painted. Shouldn't they be painted over by RC?
You window gets its OnPaint() first because its at the back of the TAB or window order. The OK/Cancel buttons gets theirs after the dialogs OnPaint(), so they would appear over your scene.

On a second not, when your added your own OnPaint() function for your dialog, you would have seen a comment such as:

<br />
// DO NOT CALL base Class OnPaint()<br />

This is a bad thing to do, as the CDC parameter passed through to the OnPaint() handler gets setup in some way by the system, so what your doing could crash/corrupt things. If you can, see if you can avoid calling the base class function in this way.



Roger Allen
Sonork 100.10016

Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003
GeneralRe: OpenGL in a portion of a dialog box Pin
MemLeak19-Sep-03 7:08
MemLeak19-Sep-03 7:08 
Questionwhere is main defined? Pin
Anonymous18-Sep-03 8:00
Anonymous18-Sep-03 8:00 
AnswerRe: where is main defined? Pin
Alvaro Mendez18-Sep-03 8:21
Alvaro Mendez18-Sep-03 8:21 
AnswerRe: where is main defined? Pin
John M. Drescher18-Sep-03 9:05
John M. Drescher18-Sep-03 9:05 
GeneralRe: where is main defined? Pin
Anonymous18-Sep-03 11:05
Anonymous18-Sep-03 11:05 
AnswerRe: where is main defined? Pin
vcplusplus18-Sep-03 11:22
vcplusplus18-Sep-03 11:22 
AnswerRe: where is main defined? Pin
Alexander M.,19-Sep-03 2:57
Alexander M.,19-Sep-03 2:57 
GeneralRe: where is main defined? Pin
Dangleberry19-Sep-03 5:45
sussDangleberry19-Sep-03 5:45 
Generalpassing arguments Pin
Sirrius18-Sep-03 7:08
Sirrius18-Sep-03 7:08 
GeneralRe: passing arguments Pin
David Crow18-Sep-03 7:26
David Crow18-Sep-03 7:26 
GeneralRe: passing arguments Pin
Anonymous18-Sep-03 8:55
Anonymous18-Sep-03 8:55 
GeneralRe: passing arguments Pin
David Crow18-Sep-03 9:00
David Crow18-Sep-03 9:00 
GeneralRe: passing arguments Pin
Anonymous18-Sep-03 9:15
Anonymous18-Sep-03 9:15 
GeneralRe: passing arguments Pin
David Crow18-Sep-03 9:40
David Crow18-Sep-03 9:40 
GeneralRe: passing arguments Pin
Anonymous18-Sep-03 9:49
Anonymous18-Sep-03 9:49 
GeneralLVM_SETITEMSTATE behaves strange for virtual list view Pin
peterchen18-Sep-03 6:37
peterchen18-Sep-03 6:37 
GeneralRe: LVM_SETITEMSTATE behaves strange for virtual list view Pin
KaЯl18-Sep-03 6:49
KaЯl18-Sep-03 6:49 

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.