Click here to Skip to main content
15,911,482 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how abstract and interface used in real time application? Pin
_AnsHUMAN_ 2-Jul-12 19:57
_AnsHUMAN_ 2-Jul-12 19:57 
AnswerRe: how abstract and interface used in real time application? Pin
Richard MacCutchan2-Jul-12 21:36
mveRichard MacCutchan2-Jul-12 21:36 
QuestionStrange compiler output Pin
ForNow2-Jul-12 17:50
ForNow2-Jul-12 17:50 
AnswerRe: Strange compiler output Pin
«_Superman_»2-Jul-12 20:53
professional«_Superman_»2-Jul-12 20:53 
GeneralRe: Strange compiler output Pin
ForNow3-Jul-12 2:46
ForNow3-Jul-12 2:46 
QuestionHow to configure GTK+ in CodeBlocks? Pin
atoi_powered2-Jul-12 4:07
atoi_powered2-Jul-12 4:07 
AnswerRe: How to configure GTK+ in CodeBlocks? Pin
Richard MacCutchan2-Jul-12 6:41
mveRichard MacCutchan2-Jul-12 6:41 
General[solved] CDialog Goes Blank When Press ENTER Pin
AmbiguousName2-Jul-12 0:32
AmbiguousName2-Jul-12 0:32 
QuestionRe: CDialog Goes Blank When Press ENTER Pin
Code-o-mat2-Jul-12 1:03
Code-o-mat2-Jul-12 1:03 
AnswerRe: CDialog Goes Blank When Press ENTER Pin
AmbiguousName2-Jul-12 1:18
AmbiguousName2-Jul-12 1:18 
GeneralRe: CDialog Goes Blank When Press ENTER Pin
Code-o-mat2-Jul-12 1:34
Code-o-mat2-Jul-12 1:34 
GeneralBios Bootable software Pin
Brandon-X120001-Jul-12 21:28
Brandon-X120001-Jul-12 21:28 
GeneralRe: Bios Bootable software Pin
Richard MacCutchan1-Jul-12 22:22
mveRichard MacCutchan1-Jul-12 22:22 
Questionneed help: image coordinates(x,y) in opencv with mfc Pin Pin
jawadali4771-Jul-12 19:40
jawadali4771-Jul-12 19:40 
AnswerRe: need help: image coordinates(x,y) in opencv with mfc Pin Pin
Richard MacCutchan1-Jul-12 22:20
mveRichard MacCutchan1-Jul-12 22:20 
GeneralRe: need help: image coordinates(x,y) in opencv with mfc Pin Pin
jawadali4772-Jul-12 0:19
jawadali4772-Jul-12 0:19 
GeneralRe: need help: image coordinates(x,y) in opencv with mfc Pin Pin
Richard MacCutchan2-Jul-12 0:31
mveRichard MacCutchan2-Jul-12 0:31 
GeneralRe: need help: image coordinates(x,y) in opencv with mfc Pin Pin
jawadali4772-Jul-12 1:38
jawadali4772-Jul-12 1:38 
GeneralRe: need help: image coordinates(x,y) in opencv with mfc Pin Pin
Richard MacCutchan2-Jul-12 6:40
mveRichard MacCutchan2-Jul-12 6:40 
GeneralRe: need help: image coordinates(x,y) in opencv with mfc Pin Pin
jawadali4772-Jul-12 17:53
jawadali4772-Jul-12 17:53 
GeneralRe: need help: image coordinates(x,y) in opencv with mfc Pin Pin
Richard MacCutchan2-Jul-12 21:17
mveRichard MacCutchan2-Jul-12 21:17 
GeneralRe: need help: image coordinates(x,y) in opencv with mfc Pin Pin
jawadali4775-Jul-12 0:49
jawadali4775-Jul-12 0:49 
GeneralRe: need help: image coordinates(x,y) in opencv with mfc Pin Pin
Richard MacCutchan5-Jul-12 2:28
mveRichard MacCutchan5-Jul-12 2:28 
QuestionGet Current View in SDI Pin
D.Manivelan1-Jul-12 18:40
D.Manivelan1-Jul-12 18:40 
I am developing a application in MDI which contains few child windows.
And also i want few windows which is not attached to CMainframe.So i created new class derived from CFrameWnd.
C++
pTagSummaryTemplate = new CSingleDocTemplate(
		IDR_MAINFRAME,
		RUNTIME_CLASS(CHarmonyDoc),
		RUNTIME_CLASS(CFrameWnd),       // main SDI frame window
		RUNTIME_CLASS(CTagSummary));
	AddDocTemplate(pTagSummaryTemplate);


And also each window has to updated frequently and im doing this by uisng below code for MDI childwindows from CMainframe
C++
CMDIChildWnd *fChWnd = GetActivePanelWnd();
if(fChWnd->GetSafeHwnd())
{
CView *curView = ((CView *)fChWnd->GetActiveView());
if(curView)
{
((COverView *)curView)->UpdatePanel();
}
}

But for SDI, i dont know how to get activeview(Current active view of SDI)So pls help me.
AnswerRe: Get Current View in SDI Pin
Richard MacCutchan1-Jul-12 22:14
mveRichard MacCutchan1-Jul-12 22:14 

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.