G
gsegria
Guest
I create a MFC multi-documents.
I want to GetPathName or GetTitle() on ChildFrm
I used two method:
##########################
Method1.
I used a TabToolTip on MainFrm , afx_msg LRESULT OnTabToolTip(WPARAM wp, LPARAM lp);
..
I press tab1, I can get GetPathName and GetTitle, but...
If i move mouse to tab2 , GetPathName and GetTitle is tab2.
If i move mouse to tab3 , GetPathName and GetTitle is tab3.
How to get tab1 PathName and GetTitle , don't influence by mouse move.
##########################
Method2.
I use View::OnDraw(CDC* pDC) , virtual void OnDraw(CDC* pDC);
OnDraw don't work when i press GUI toolbar function.
##########################
I really appreciate if someone could advise me on this issue.
Continue reading...
I want to GetPathName or GetTitle() on ChildFrm
I used two method:
##########################
Method1.
I used a TabToolTip on MainFrm , afx_msg LRESULT OnTabToolTip(WPARAM wp, LPARAM lp);
..
I press tab1, I can get GetPathName and GetTitle, but...
If i move mouse to tab2 , GetPathName and GetTitle is tab2.
If i move mouse to tab3 , GetPathName and GetTitle is tab3.
How to get tab1 PathName and GetTitle , don't influence by mouse move.
##########################
Method2.
I use View::OnDraw(CDC* pDC) , virtual void OnDraw(CDC* pDC);
OnDraw don't work when i press GUI toolbar function.
##########################
I really appreciate if someone could advise me on this issue.
Continue reading...