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 » CExtHyperLinkButton Collapse All
Subject Author Date
Andrew Nanopoulos Jul 10, 2006 - 3:49 PM

What is the propper way to impliment a custom action (ie not just call default web browser with url) for the hyperlinkButton? I tried to overide OnHyperLinkOpen but it never gets called.

Technical Support Jul 11, 2006 - 8:48 AM

The CExtHyperLinkButton class has a m_bUseStdCommandNotification property. If set to true, the control sends the standard WM_COMMAND message instead of opening the hyperlink. You can handle this command in the same way as you do with the standard button. The PageNavigator sample shows how to use such the hyperlink button.