Click here to Skip to main content
14,921,505 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: plotting graph Pin
thathvamsi6-Aug-06 20:47
Memberthathvamsi6-Aug-06 20:47 
GeneralRe: plotting graph Pin
_AnsHUMAN_ 6-Aug-06 20:54
Member_AnsHUMAN_ 6-Aug-06 20:54 
GeneralRe: plotting graph Pin
thathvamsi6-Aug-06 21:06
Memberthathvamsi6-Aug-06 21:06 
GeneralRe: plotting graph Pin
_AnsHUMAN_ 6-Aug-06 21:10
Member_AnsHUMAN_ 6-Aug-06 21:10 
GeneralRe: plotting graph Pin
thathvamsi6-Aug-06 21:17
Memberthathvamsi6-Aug-06 21:17 
QuestionRefreshing the main window Pin
Waldermort6-Aug-06 15:33
MemberWaldermort6-Aug-06 15:33 
AnswerRe: Refreshing the main window Pin
Waldermort6-Aug-06 19:29
MemberWaldermort6-Aug-06 19:29 
QuestionMDI : Get handle on active document ? Pin
DanYELL6-Aug-06 8:00
MemberDanYELL6-Aug-06 8:00 
I have a MDI application. From CDoc, how can I get a handle on the
active document. I can do this for a SDI application:

<br />
CFrameWnd	*pWndMain = (CFrameWnd *)AfxGetMainWnd();<br />
ASSERT(pWndMain != NULL);<br />
<br />
CDocument *pDoc = pWndMain->GetActiveDocument();<br />
ASSERT(pDoc);<br />
	<br />
POSITION pos = pDoc->GetFirstViewPosition();<br />
<br />
CView *pView = pDoc->GetNextView(pos)<br />


How can I rewrite this code for an MDI? Please any response
any one can give me will be greatly appreciated.

Sincerely,
Danielle Brina (an overworked graduate student)
AnswerRe: MDI : Get handle on active document ? Pin
Christian Graus6-Aug-06 13:09
protectorChristian Graus6-Aug-06 13:09 
GeneralRe: MDI : Get handle on active document ? Pin
DanYELL6-Aug-06 13:21
MemberDanYELL6-Aug-06 13:21 
GeneralRe: MDI : Get handle on active document ? Pin
Christian Graus6-Aug-06 14:05
protectorChristian Graus6-Aug-06 14:05 
QuestionRe: MDI : Get handle on active document ? Pin
David Crow7-Aug-06 3:46
MemberDavid Crow7-Aug-06 3:46 
QuestionGPRS C++ Pin
flippydeflippydebop6-Aug-06 5:43
Memberflippydeflippydebop6-Aug-06 5:43 
AnswerRe: GPRS C++ Pin
David Crow7-Aug-06 3:47
MemberDavid Crow7-Aug-06 3:47 
GeneralRe: GPRS C++ Pin
flippydeflippydebop7-Aug-06 5:05
Memberflippydeflippydebop7-Aug-06 5:05 
GeneralRe: GPRS C++ Pin
flippydeflippydebop8-Aug-06 5:32
Memberflippydeflippydebop8-Aug-06 5:32 
QuestionRe: GPRS C++ Pin
David Crow8-Aug-06 5:40
MemberDavid Crow8-Aug-06 5:40 
QuestionIStorage and IStream Pin
Waldermort6-Aug-06 4:47
MemberWaldermort6-Aug-06 4:47 
AnswerRe: IStorage and IStream Pin
Jörgen Sigvardsson6-Aug-06 5:40
MemberJörgen Sigvardsson6-Aug-06 5:40 
GeneralRe: IStorage and IStream Pin
Waldermort6-Aug-06 5:47
MemberWaldermort6-Aug-06 5:47 
GeneralRe: IStorage and IStream Pin
Waldermort6-Aug-06 6:37
MemberWaldermort6-Aug-06 6:37 
AnswerRe: IStorage and IStream Pin
bob169726-Aug-06 5:55
Memberbob169726-Aug-06 5:55 
QuestionRe: IStorage and IStream Pin
David Crow7-Aug-06 3:50
MemberDavid Crow7-Aug-06 3:50 
QuestionKeyboard Navigation in Win32 application Pin
_sidd6-Aug-06 4:44
Member_sidd6-Aug-06 4:44 
AnswerRe: Keyboard Navigation in Win32 application Pin
James Brown6-Aug-06 7:02
MemberJames Brown6-Aug-06 7:02 

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.