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 » About CExtHookSink ? Collapse All
Subject Author Date
tera t May 7, 2007 - 10:54 PM

Hello

What kind of function is CExtHookSink?

Please teach it for your information.

Technical Support May 8, 2007 - 11:58 AM

The CExtHookSink class allows the classes derived from it to watch for and/or intercept messages sent to some other windows before these messages are delivered to these windows. For instance, the CExtMenuControlBar class, which is derived from CExtHookSink, implements a menu bar. This allows the menu bar to hook the MDI client area and active MDI child frame window in MDI applications. This makes it possible to synchronize menu bar’s buttons when the active MDI child frame window is created and destroyed or when it changes . Besides in the menu bar the MDI document button and [_][o][x] button are displayed when the active MDI child frame becomes maximized. Otherwise these buttons get hidden.

Please note you don’t need to use the CExtHookSink class in your projects if you are not going to code your own controls.

tera t May 9, 2007 - 2:27 AM

Hi

Thank you for advice.