lundi 15 octobre 2018

OnClick event and tooltip on a disabled CheckBox button in MFC

Is it possible to capture OnClick event when the CheckBox is disabled and then, to display a tooltip that shows why it is so (based on some business requirements)?

I looked up many sources over the internet, but I was able to find the answer to the second part of the question, not tested though. It seems to be a well-known problem, but I cannot find any answer or a hint.

I have to say that I am not a master of MFC, so a small code snippet would be appreciated.




Aucun commentaire:

Enregistrer un commentaire