Click here to Skip to main content
16,011,428 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Convert MFC Doc / View App to a COM server Pin
basementman5-Mar-04 9:08
basementman5-Mar-04 9:08 
GeneralRe: Convert MFC Doc / View App to a COM server [EDITED] Pin
John M. Drescher5-Mar-04 9:22
John M. Drescher5-Mar-04 9:22 
GeneralRe: Convert MFC Doc / View App to a COM server [EDITED] Pin
basementman5-Mar-04 9:34
basementman5-Mar-04 9:34 
GeneralPartial Editing in RichEditCtrl Pin
Rightoguy5-Mar-04 6:44
Rightoguy5-Mar-04 6:44 
GeneralRe: Partial Editing in RichEditCtrl Pin
James R. Twine5-Mar-04 7:17
James R. Twine5-Mar-04 7:17 
QuestionHow convert unsigned char[] to *char Pin
Joe_Valenz5-Mar-04 6:18
Joe_Valenz5-Mar-04 6:18 
AnswerRe: How convert unsigned char[] to *char Pin
Prakash Nadar5-Mar-04 6:56
Prakash Nadar5-Mar-04 6:56 
GeneralDisplaying data in an MDIChildWnd without a document Pin
slyone5-Mar-04 6:03
slyone5-Mar-04 6:03 
Hi,
I've got some data and a message handler stored & controlled by the main frame of an MDI app, and would like to show the data in an MDIChildWnd. I can create a window with a standard child wnd OR my own child wnd. e.g.

RECT pRect;
pRect.top = 0;
pRect.left = 0;
pRect.bottom = 604;
pRect.right = 394;

m_pCamWnd = new CMyChildWnd;
VERIFY(m_pCamWnd->Create(
NULL,
_T("Camera Input"),
WS_CHILD | WS_VISIBLE | WS_OVERLAPPEDWINDOW,
Rect, //
this)); //

(this was done in CMainFrame::OnCreate()).

What I'm not sure about is, can I just derive my own class from CMDIChildWnd then override OnPaint() in order to actually output the data...

My line of thinking being that CMDIChildWnd is derived from CFrameWnd which is derived from CWnd. So I'd really be overriding the OnPaint of it's 'grandparent'.

Any advice on this would be greatly appreciated as I'm more than a little confusedSmile | :)

Dave

PS sorry havin trouble gettin the [CODE] tags to work
Generalmigrate nmae project to visual studio Pin
Anonymous5-Mar-04 5:37
Anonymous5-Mar-04 5:37 
GeneralRe: migrate nmae project to visual studio Pin
Anthony_Yio5-Mar-04 22:35
Anthony_Yio5-Mar-04 22:35 
GeneralHlinkSimpleNavigateToString Pin
mistretzu5-Mar-04 5:22
mistretzu5-Mar-04 5:22 
QuestionHow can i concate two bitmap to produce third combine bitmap Pin
Atif Mushtaq5-Mar-04 5:08
Atif Mushtaq5-Mar-04 5:08 
AnswerRe: How can i concate two bitmap to produce third combine bitmap Pin
Tom Larsen5-Mar-04 5:48
Tom Larsen5-Mar-04 5:48 
GeneralVisual C 6 Webbrowser & Saving Webpages Pin
muckmail5-Mar-04 2:40
muckmail5-Mar-04 2:40 
GeneralRe: Visual C 6 Webbrowser & Saving Webpages Pin
Neville Franks5-Mar-04 10:47
Neville Franks5-Mar-04 10:47 
GeneralUnlocking a File or Volume Pin
mmica5-Mar-04 2:08
mmica5-Mar-04 2:08 
QuestionHow I show the *.mdb table content on the form? Pin
Emre Zorlu5-Mar-04 0:38
Emre Zorlu5-Mar-04 0:38 
AnswerRe: How I show the *.mdb table content on the form? Pin
includeh105-Mar-04 0:49
includeh105-Mar-04 0:49 
GeneralRe: How I show the *.mdb table content on the form? Pin
Emre Zorlu5-Mar-04 0:59
Emre Zorlu5-Mar-04 0:59 
GeneralRe: How I show the *.mdb table content on the form? Pin
l a u r e n5-Mar-04 8:23
l a u r e n5-Mar-04 8:23 
QuestionHow to compile DirectX in MFC Pin
includeh105-Mar-04 0:18
includeh105-Mar-04 0:18 
AnswerRe: How to compile DirectX in MFC Pin
Anonymous5-Mar-04 3:02
Anonymous5-Mar-04 3:02 
GeneralRe: How to compile DirectX in MFC Pin
includeh105-Mar-04 11:31
includeh105-Mar-04 11:31 
GeneralText selection in CRichEditView Pin
MolleX4-Mar-04 23:40
MolleX4-Mar-04 23:40 
GeneralRe: Text selection in CRichEditView Pin
includeh105-Mar-04 0:34
includeh105-Mar-04 0:34 

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.