mfc mdi onfileopen
Posted on 2005-03-02
Although I have plenty of c++ experience, I'm new to mfc and don't know what I'm doing.
When the user clicks 'Open file...' the open file dialog pops up, the user can select a file and click ok. All standard stuff so far. I expect the dialog returns the address of the selected file somehow but I don't know how to find it. I tried adding a message handler for ID_FILE_OPEN in XDDT.cpp using the event handler wizard.
// TODO: Add your command handler code here
but it makes no difference.