Software Development Network>> Visual C++>> Hiding context help in CFileDialog dialog
You have to remove WS_EX_CONTEXTHELP style. You can do it for example in the WM_INITDIALOG message handler:
BOOL CMyFileDialog::OnInitDialog() { CFileDialog::OnInitDialog(); CWnd* pParent = GetParent(); if(NULL != pParent) { // remove WS_EX_CONTEXTHELP style pParent->ModifyStyleEx(WS_EX_CONTEXTHELP, 0); } return TRUE; }
BOOL CMyFileDialog::OnInitDialog() { CFileDialog::OnInitDialog(); ModifyStyleEx(WS_EX_CONTEXTHELP, 0); return TRUE;}
Hiding context help in CFileDialog dialog
StevenR2
You have to remove WS_EX_CONTEXTHELP style. You can do it for example in the WM_INITDIALOG message handler:
vidalsasoon
I tried the same but on the child parent:
but it didn't work.
Now, after your reply, I finished my task.
Thanks alot Ovidiu.