|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by bundy9764 in Windows MFC Programming, Windows ATL / WTL / COM Programming
Hi,
I'm currently using CDhtmlDialog derviced class on one of my projects,
when the dialog is in modal mode, the TranslateAccelerator function is called with no problems,
when trying to use the same dialog but not in modal mode, there are no calls to translateAccelerator.
I'm trying to catch the TAB key on this dialog with no success.
can anyone please help?
1:
2:
3:
4:
5:
6:
7:
8:
|
//works fine
m_pMyDlg=new CMyDialog();
m_pMyDlg->DoModal();
//doesnt work
m_pMyDlg=new CMyDialog();
m_pMyDlg->Create(IDD_EMAIL,m_wndParent);
m_pMyDlg->ShowWindow(TRUE);
|
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625