Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: Possible to resolve the question ... in a short time Pinmemberjeron115-Feb-13 8:08 
AnswerRe: Possible to resolve the question ... in a short time PinmemberDavidCrow16-Feb-13 14:56 
QuestionWindows 8 Modified Windows API List... PinmemberBlake Miller15-Feb-13 7:35 
AnswerRe: Windows 8 Modified Windows API List... PinmvpRichard MacCutchan15-Feb-13 22:18 
Question_IID_IXMLHTTPRequest linker error PinmemberMember 981141114-Feb-13 19:48 
AnswerRe: _IID_IXMLHTTPRequest linker error PinmvpRichard MacCutchan14-Feb-13 23:09 
AnswerRe: _IID_IXMLHTTPRequest linker error PinmemberDavidCrow15-Feb-13 5:31 
QuestionMCF PingroupFranksLIC14-Feb-13 10:55 
AnswerRe: MCF PinmemberJibesh14-Feb-13 11:12 
AnswerRe: MCF Pinmemberjeron114-Feb-13 12:01 
AnswerRe: MCF PinmemberMaximilien15-Feb-13 1:20 
AnswerRe: MCF PinmemberSCProrammer15-Feb-13 5:56 
QuestionHosting .net window in MFC dialog PinmemberYunaless14-Feb-13 4:06 
QuestionCView::OnDraw - related question Pinmembertagopi13-Feb-13 22:29 
Hello Everybody,
 
I am new to MFC. I used the application wizard to create a SDI application, I was able to replace the existing menu and toolbar.
 
In this, I added a dialog with some controls. Now, what I need is, whatever the details I got from the dialog controls, I need to display the document view.
 
On CView::OnDraw,I added the code like this.
 
<code>
CSDITestDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
if (!pDoc)
      return;
 
pDC->TextOut(20, 20, L"test sdi", 10);
</code>
 
This text is writing only once in the beginning. On closing the dialog, this function is not called, how can I do that?
 
I tried with UpdateAllViews and OnUpdate also.
 
Thanks in advance.
 
A. Gopinath.
AnswerRe: CView::OnDraw - related question PinmemberSivaraman Dhamodharan13-Feb-13 23:26 
GeneralRe: CView::OnDraw - related question Pinmembertagopi13-Feb-13 23:40 
SuggestionRe: CView::OnDraw - related question PinmvpRichard MacCutchan13-Feb-13 23:51 
GeneralRe: CView::OnDraw - related question Pinmembertagopi14-Feb-13 0:14 
GeneralRe: CView::OnDraw - related question PinmvpRichard MacCutchan14-Feb-13 0:41 
GeneralRe: CView::OnDraw - related question Pinmembertagopi14-Feb-13 1:33 
GeneralRe: CView::OnDraw - related question PinmvpRichard MacCutchan14-Feb-13 1:41 
AnswerRe: CView::OnDraw - related question PinmemberAndrew Cherednik14-Feb-13 13:26 
QuestionVisual Studio Display Thread question PinmemberForNow13-Feb-13 21:53 
AnswerRe: Visual Studio Display Thread question PinmvpRichard MacCutchan13-Feb-13 22:26 
GeneralRe: Visual Studio Display Thread question PinmemberForNow14-Feb-13 3:15 
AnswerRe: Visual Studio Display Thread question PinmemberAlbert Holguin14-Feb-13 4:07 
AnswerRe: Visual Studio Display Thread question PinmemberDavidCrow14-Feb-13 5:23 
GeneralRe: Visual Studio Display Thread question PinmemberForNow14-Feb-13 7:08 
Question................ [modified] PinmemberMember 981141113-Feb-13 19:21 
AnswerRe: upload data using xmlhttp( need an urgent help) PinmvpRichard MacCutchan13-Feb-13 22:25 
AnswerMessage Removed PinmemberMember 981141114-Feb-13 0:34 
GeneralRe: upload data using xmlhttp( need an urgent help) PinmvpRichard MacCutchan14-Feb-13 0:47 
GeneralMessage Removed PinmemberMember 981141114-Feb-13 18:33 
GeneralRe: upload data using xmlhttp( need an urgent help) PinmvpRichard MacCutchan14-Feb-13 22:52 
GeneralMessage Removed PinmemberMember 981141115-Feb-13 18:30 
GeneralRe: upload data using xmlhttp( need an urgent help) PinmvpRichard MacCutchan15-Feb-13 22:10 
QuestionReading a comma delimited file to array [modified] PinmemberJeffrey Webster13-Feb-13 14:39 
AnswerRe: Reading a comma delimited file to array PinmemberSivaraman Dhamodharan13-Feb-13 19:10 
GeneralRe: Reading a comma delimited file to array PinmemberJeffrey Webster13-Feb-13 20:25 
GeneralRe: Reading a comma delimited file to array PinmemberGraham Breach13-Feb-13 21:33 
GeneralRe: Reading a comma delimited file to array PinmemberJeffrey Webster14-Feb-13 4:15 
AnswerRe: Reading a comma delimited file to array PinmvpRichard MacCutchan13-Feb-13 22:17 
GeneralRe: Reading a comma delimited file to array PinmemberJeffrey Webster14-Feb-13 4:21 
GeneralRe: Reading a comma delimited file to array PinmvpRichard MacCutchan14-Feb-13 5:14 
GeneralRe: Reading a comma delimited file to array [modified] PinmemberJeffrey Webster14-Feb-13 9:23 
GeneralRe: Reading a comma delimited file to array PinmemberDavidCrow14-Feb-13 5:14 
QuestionImplementing of Interruption Pinmembermohammad torabi13-Feb-13 10:14 
AnswerRe: Implementing of Interruption PinmemberAlbert Holguin13-Feb-13 11:49 
AnswerRe: Implementing of Interruption PinmemberStefan_Lang15-Feb-13 3:39 
AnswerRe: Implementing of Interruption PinmemberMax_Power_Up26-Feb-13 5:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.141015.1 | Last Updated 22 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid