Click here to Skip to main content
16,011,578 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi There,

It might not be a best suited query without sharing the source code, but if anyone can answer then it will really help.

What i am looking for is a way to display text messages pop-up (sort of like what we get while using tooltip), when mouse/cursor hovers over a disabled button.

Constraints:

1.) Shouldn't be MFC approach
2.) CPP must

Hope someone can guide me with something. Even a tiniest sample code to start with would be much appreciated.

Good day

Abby
Posted
Comments
Sergey Alexandrovich Kryukov 7-Apr-15 10:59am    
If you are looking for some alternative UI library (yes, there are such libraries), asking a question particularly on tooltips is unwise. You need to consider very many qualities; many are much more important.
—SA
Member 11578992 7-Apr-15 13:25pm    
Hi SA, i certainly do understand that but the only constraint of not going for the MFC approach had made it difficult to use tooltip and hence exclusively striking that out.

1 solution

First of all, please see my comment to the question.

If C++ but not MFC (getting rid of MFC could be not a bad idea), you can consider using raw Windows API and writing your own code. Also, you can consider using C++/CLI instead of native C++ and use very rich .NET with its very rich UI libraries.

Other possibilities include more or less cross-platform libraries. Please see my detailed answer: writing c/c++ visual programs (cross-platform) with which IDE and compiler?

See also my past answers:
Visual Studio Application for Target OS Windows and Linux,
How to Compile Visual studio C++ to linux and os-mac,
What`s the Problem with this Plot Program win32[^].

—SA
 
Share this answer
 
v4

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