Click here to Skip to main content
15,890,043 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I tried using Text Renderer Measure Text but it just for increasing size according to text we provide.I want to increase size means height and width of my tool Tip so that my whole image gets displayed. Right now only part of image getting displayed using graphics Draw Image function according default size of tool Tip which is small.I am also providing default size of my image by using Graphics Draw Image function.But since size of my toolTip is small only part of image getting displayed.

What I have tried:

I tried using Text Renderer Measure Text but it just for increasing size according to text we provide and it does not worked.I am also providing default size of my image by using Graphics Draw Image function.But since size of my toolTip is small only part of image getting displayed.
Posted
Updated 27-Jan-17 19:05pm
v6
Comments
Richard MacCutchan 18-Jan-17 4:55am    
Please stop reposting this question. You have already been given an answer in the C++/CLI forum.

You can create a tooltip window for yourself and tweak all parameter. Read this article from Microsoft for the details.
 
Share this answer
 
Comments
SuchitraAB 18-Jan-17 2:53am    
Ok.But i need to create it using c++.
barneyman 18-Jan-17 18:17pm    
that URL and the explanation does not preclude you from using C++

it talks about creating it and the messages you have to intercept
SuchitraAB 19-Jan-17 23:38pm    
So actually i want to increase size of my toolTip as i want to display an image without using handle as given in URL.
I resolved it!! Just needed to add the Spaces in control property ToolTip on myTooltip on whichever button or control tooltip is applied on.
 
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