void CMergeEditFrame::OnTimer(UINT_PTR nIDEvent) { if (nIDEvent == IDT_SAVEPOSITION) { SavePosition(); KillTimer(IDT_SAVEPOSITION); } else { UpdateHeaderSizes(); } CMDIChildWnd::OnTimer(nIDEvent); }
void CChildFrame::OnIdleUpdateCmdUI() { if (IsWindowVisible()) { int w,wmin; m_wndSplitter.GetColumnInfo(0, w, wmin); if (w != m_nLastSplitPos && w > 0) { UpdateHeaderSizes(); m_nLastSplitPos = w; } } CMDIChildWnd::OnIdleUpdateCmdUI(); }
void CChildFrame::OnSize(UINT nType, int cx, int cy) { CMDIChildWnd::OnSize(nType, cx, cy); UpdateHeaderSizes(); }
/** * @brief Synchronize control with splitter position, */ void CMergeEditFrame::OnIdleUpdateCmdUI() { UpdateHeaderSizes(); CMDIChildWnd::OnIdleUpdateCmdUI(); }