Dear All,
I have changed the File View/Explorer Pane in the MFC Feature Pack 2008,
Changed code to the following.
CMyMainFrame::CreateDockingWindows()
{
CString strFileView;
bNameValid = strFileView.LoadString(IDS_FILE_VIEW);
ASSERT(bNameValid);
if (!m_wndFileView.Create(strFileView, this, CRect(0, 0, 200, 200), TRUE, ID_VIEW_FILEVIEW, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | CBRS_LEFT| CBRS_FLOAT_MULTI,AFX_CBRS_REGULAR_TABS,cbStyle))
{
TRACE0("Failed to create File View window\n");
return FALSE;
}
}
The intention of inclusion of above commented line was to disable the Float option for the File/Explorer Pane.
On Including the above line, All The Short -cut Keys(ALT+F+N)....(ALT+E+X) etc., are disable using keyboard, albeit the Accelerator keys are functional(CTRL+O) etc.
My query is to find the workaround to implement the above construct(making File/Explorer Pane) Non-Floatable and to enable Short-cut Keys.
On commenting the above line, the Short -cut keys are functional though.
Any help in the above direction, would be much appreciable.
With regards,
VishalK_92