Click here to Skip to main content
15,894,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello there

Just created a button and mapped it with CMFCButton in my class.
i have Used CMFCButton::SetTooltip in dialog initialization. it is working fine with no issues.
But when i chnaged button state that is now button is in disabled mode as follows GetDlgItem(IDC_BTN)->EnableWindow(FALSE);
tooltip is not showing.
i did google, searched samples but could not reached a solution.
NOTE:
I hope this problem will apply for images on button too.

Thank you in advance
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900