Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem in dropping Pin
radhika2812-Oct-06 1:08
radhika2812-Oct-06 1:08 
GeneralRe: problem in dropping Pin
Hamid_RT13-Oct-06 7:42
Hamid_RT13-Oct-06 7:42 
QuestionDrag and drop files and folders to and from tree control Pin
kiranin12-Oct-06 0:10
kiranin12-Oct-06 0:10 
AnswerRe: Drag and drop files and folders to and from tree control Pin
Hamid_RT12-Oct-06 0:50
Hamid_RT12-Oct-06 0:50 
Questionunable to load driver Pin
ask_you11-Oct-06 23:50
ask_you11-Oct-06 23:50 
AnswerRe: unable to load driver Pin
Hamid_RT12-Oct-06 0:36
Hamid_RT12-Oct-06 0:36 
AnswerRe: unable to load driver Pin
mpk197912-Oct-06 1:46
mpk197912-Oct-06 1:46 
QuestionMFC Messages Pin
baerten11-Oct-06 23:45
baerten11-Oct-06 23:45 
I have a MDI Project

With a MainFrm (1)
There i open Child-Windows of type CMDIChildWnd (2)
A View of element as type CFormView (3)
And the content of the View is a Dialog (made with the Ressource Designer) (4)

If i start the applic and hit a key on the ChildWindow. Which element does get the OnKeyDown Event?

2 & 3 does it not get.
It's logic that the "highest" Element receive the message -> 4: The Dialog

But i "linked" myself the Dialog to the CFormView ...
I saw that it's possible to create directly the CFormView from out the Designer with "Add Class"

Now i don't have a reaction if i hit a key on the Childform
Is it absolute necessairy to create the CFormView with the Designer?

In my CFormView i have

afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);<br />
<br />
BEGIN_MESSAGE_MAP(TheViewClass, CFormView)<br />
  . <br />
  .<br />
  .<br />
  ON_WM_KEYDOWN()<br />
END_MESSAGE_MAP()<br />
<br />
void TheViewClass::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)<br />
{<br />
  CFormView::OnKeyDown(nChar, nRepCnt, nFlags); // BREAKPOINT HERE<br />
}



Is it the right procedure to make ChildForms ?



Big thanks
AnswerRe: MFC Messages Pin
tuxyboy12-Oct-06 0:26
tuxyboy12-Oct-06 0:26 
NewsRe: MFC Messages Pin
baerten12-Oct-06 2:07
baerten12-Oct-06 2:07 
QuestionLanguage independent in Dlls Pin
Krishnatv11-Oct-06 23:17
Krishnatv11-Oct-06 23:17 
AnswerRe: Language independent in Dlls Pin
Cedric Moonen11-Oct-06 23:42
Cedric Moonen11-Oct-06 23:42 
GeneralRe: Language independent in Dlls Pin
Krishnatv11-Oct-06 23:58
Krishnatv11-Oct-06 23:58 
GeneralRe: Language independent in Dlls Pin
Cedric Moonen12-Oct-06 1:20
Cedric Moonen12-Oct-06 1:20 
GeneralRe: Language independent in Dlls Pin
Krishnatv12-Oct-06 1:32
Krishnatv12-Oct-06 1:32 
GeneralRe: Language independent in Dlls Pin
Krishnatv12-Oct-06 0:00
Krishnatv12-Oct-06 0:00 
QuestionGetProcessMemoryInfo Generates LNK 2019 Pin
mpk197911-Oct-06 23:14
mpk197911-Oct-06 23:14 
QuestionRe: GetProcessMemoryInfo Generates LNK 2019 Pin
prasad_som11-Oct-06 23:26
prasad_som11-Oct-06 23:26 
AnswerRe: GetProcessMemoryInfo Generates LNK 2019 Pin
mpk197912-Oct-06 0:27
mpk197912-Oct-06 0:27 
QuestionRe: GetProcessMemoryInfo Generates LNK 2019 Pin
David Crow12-Oct-06 3:14
David Crow12-Oct-06 3:14 
GeneralRe: GetProcessMemoryInfo Generates LNK 2019 Pin
prasad_som12-Oct-06 18:44
prasad_som12-Oct-06 18:44 
AnswerRe: GetProcessMemoryInfo Generates LNK 2019 Pin
Hamid_RT12-Oct-06 0:28
Hamid_RT12-Oct-06 0:28 
QuestionHow to Use Select [column] From Table where (column= Value) from vc++ Pin
himuskanhere11-Oct-06 23:12
himuskanhere11-Oct-06 23:12 
AnswerRe: How to Use Select [column] From Table where (column= Value) from vc++ Pin
prasad_som11-Oct-06 23:30
prasad_som11-Oct-06 23:30 
AnswerRe: How to Use Select [column] From Table where (column= Value) from vc++ Pin
Hamid_RT12-Oct-06 0:39
Hamid_RT12-Oct-06 0:39 

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.