Ocrana
asked on
WindowSytle Explorer Control
Hello,
I use following code to generate a exploer browser window. But this shows allways a vertical Scrollbar and a border. How I can remove the border and the scrollbar?
RECT rcBrowser = rcClient;
m_explorerWnd.Create( L"", WS_VISIBLE | WS_CHILD, rcBrowser, this, BROWSER_WINDOW_ID );
m_explorerWnd.Navigate( m_browserUrl.c_str(),
NULL, NULL, NULL, NULL );
m_explorerWnd.ModifyStyle( WS_CLIPCHILDREN | WS_CLIPSIBLINGS, 0 );
ModifyStyleForAllChildWind ows( m_explorerWnd.m_hWnd, WS_CLIPCHILDREN | WS_CLIPSIBLINGS, 0 );
Thanks,
Ocrana
I use following code to generate a exploer browser window. But this shows allways a vertical Scrollbar and a border. How I can remove the border and the scrollbar?
RECT rcBrowser = rcClient;
m_explorerWnd.Create( L"", WS_VISIBLE | WS_CHILD, rcBrowser, this, BROWSER_WINDOW_ID );
m_explorerWnd.Navigate( m_browserUrl.c_str(),
NULL, NULL, NULL, NULL );
m_explorerWnd.ModifyStyle(
ModifyStyleForAllChildWind
Thanks,
Ocrana
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
or use SetWindowLong to remove border and scrollbars for your explorer-window