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 General Discussion » Dynamically change toolbar button tooltip text? Collapse All
Subject Author Date
Ed Nafziger Sep 13, 2007 - 12:40 PM

Is it possible to change the tooltip text of a specific CExtToolControlBar button at runtime?

Suhai Gyorgy Sep 14, 2007 - 1:58 AM

CExtCmdItem *pCmd = g_CmdManager->CmdGetPtr( ID_YOUR_COMMAND );
ASSERT( pCmd != NULL );
pCmd->m_sTipTool = _T( "Tooltip text" );
If your application uses the ProfUIS customization subsystem, it is a little different.