I have a SDI application and I would like to display a dialog after selecting a popup menu item to call it My dialog class is defined as:
class Dialog:public CDialogEx
{};
and an added function to view class named OnCallDlg does something as simple as:
void CAppView::OnCallDlg()
{
Dialog d;
d.DoModal();
}
But there is nothing shown up after I choose an item in the popup menu when rightmouse clicking the view.
WM_COMMAND
message corresponding to the selected item in the context menu? Where are you calling theOnCallDlg
function? – Cody Gray