case AFX_IDW_TOOLBAR:
if (nmh->code == TBN_HOTITEMCHANGE) {
LPNMTBHOTITEM lpnmhi = (LPNMTBHOTITEM)nmh;
if (lpnmhi->dwFlags & HICF_ENTERING) // if entering toolbar
m_HideFrameCounter = TRUE; // hide frame counter
else if (lpnmhi->dwFlags & HICF_LEAVING) // if leaving toolbar
m_HideFrameCounter = FALSE; // show frame counter
}
break;
Saturday, October 28, 2006
how to keep frame counter from clobbering toolbar hints
in CMainFrame::OnNotify:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment