Thank you for replying to my posting.
Your solution worked.
"jc" <jc@discussions.microsoft.com> wrote in message
news:55D66898-3989-4452-854A-5E649C2B2799@microsoft.com...
Hello,
I am developing a MFC single document application.
I am using a CHTMLView class.
How do I suppress the HTTP text status, from being displayed
on the status bar?
Looking at the CHtmlView source code, it sets the status bar message by
handling:
ON_EVENT(CHtmlView, AFX_IDW_PANE_FIRST, DISPID_STATUSTEXTCHANGE,
OnStatusTextChange, VTS_BSTR)
....
void CHtmlView::OnStatusTextChange(LPCTSTR pszText)
{
// try to set the status bar text via the frame
CFrameWnd* pFrame = GetParentFrame();
if (pFrame != NULL)
pFrame->SetMessageText(pszText);
}
so theoretically (I haven't tried it) you can subclass CHtmlView, and handle
the same event and do nothing so the status bar does not reflect the browser
message.
-- David