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 » Bug: WM_SETFOCUS not called when switching views from CExtTabMdiWnd in 2.84 Collapse All
Subject Author Date
Offer Har Jan 5, 2009 - 7:00 AM

Dear Support,


Our application catches the window’s WM_SETFOCUS event to know when focus/active view has changed in an MDI application.


We notice that in 2.84, when swithching the views from the CExtTabMdiWnd the events are not received in the views.


Can you please fix it ASAP - This is a major item we must have before swithcing 2.84 to production.


Thanks,


Ron.

Offer Har Jan 5, 2009 - 7:04 AM

IMPROTANT - the event is not received at the view if a control-bar have the focus. It seems that the control-bar has the focus, so the new view never gets focus, so the event is never called.


If there is any way of getting events or over-ride the CExtTabMdiWnd for knowing when the user switched view it might be enough for us to bypass this problem.

Offer Har Jan 5, 2009 - 10:25 AM

OK - we found a work-around using the WM_MDIACTIVATE event.