[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.

Question
[x]
Attachment Details

CDHtmlDialog TranslateAccelerator problem

Asked by bundy9764 in Windows MFC Programming, Windows ATL / WTL / COM Programming

Tags: CDhtmlDialog, MFC, TranslateAccelerator, WK_KEYUP, FOCUS

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);
[+][-]01/26/09 05:42 AM, ID: 23466393Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/26/09 06:13 AM, ID: 23466617Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/26/09 07:51 AM, ID: 23467651Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625