Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Issue with the CExtTabMdiWhidbeyWnd Collapse All
Subject Author Date
Pierre MEDART Oct 16, 2007 - 4:14 AM

We are using CExtTabMdiWhidbeyWnd to display our Views.

We are facing an issue because in the OnActivateView the p_OurView->IsWindowVisible() always return false.

This is annoying because previously we did some synchronization with other part of our UI that are no longer done.

No code was changed at the view level. Does the CExtTabMdiWhidbeyWnd change this behaviour? If so, can we change it ?

void COurView::OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView)
{

    if (bActivate && pActivateView && pActivateView->IsWindowVisible())    {
Synchronize();
    }
    CBaseClassVIew::OnActivateView(bActivate, pActivateView, pDeactiveView);
}