Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - how change tooltip of a button on toolbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how change tooltip of a button on toolbar

 Post Reply Post Reply
Author
Message
stephen_hyc View Drop Down
Newbie
Newbie


Joined: 27 January 2005
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote stephen_hyc Quote  Post ReplyReply Direct Link To This Post Topic: how change tooltip of a button on toolbar
    Posted: 03 March 2005 at 7:04pm
i want to change the tooltip of a button on toolbar when i click it.how can i do?
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2005 at 12:20am

 

ON_XTP_EXECUTE(ID_EDIT_STATE, OnEditState)

void CMainFrame::OnEditState(NMHDR* pNMHDR, LRESULT* pResult)
{
 NMXTPCONTROL* tagNMCONTROL = (NMXTPCONTROL*)pNMHDR;

 CXTPControl* pControl = tagNMCONTROL->pControl;

 pControl->SetTooltip(...);

}

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.035 seconds.