Click here to Skip to main content
14,449,842 members
Rate this:
Please Sign up or sign in to vote.
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 6: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

Rate this:
Please Sign up or sign in to vote.

Solution 1

   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100