Click here to Skip to main content
15,867,834 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need to pop up a warning message in the Edit Contol box when the user provides invalid input. How do I automatically display a tooltip message when button click but without hover mouse on the Edit control box in win32 application?

What I have tried:

I added a function for tooltip control. But the given message is shown only when I hover mouse on the Edit Control box.
Posted
Updated 11-Feb-20 5:14am
Comments
Richard MacCutchan 11-Feb-20 4:11am    
Don't use a tooltip in that case, use a messagebox, or a label field in the dialog.
Piraisudan 11-Feb-20 8:03am    
@Richard-MacCutchan Thank you for the prompt response. In my case, I need to prompt a warning message like "Balloon Tip" in the specific Edit Control box when pressing the button. How to do that?

1 solution

 
Share this answer
 

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