For a label, you cannot do this unless you have drawn the text yourself and
know how much space the text occupies.
----------------
-Atul, Sky Software
http://www.ssware.com
Shell MegaPack For .Net & ActiveX
Windows Explorer GUI Controls
&
Quick-Launch Like Appbars, MSN/Office2003 Style Popups,
System Tray Icons and Shortcuts/Internet Shortcuts
----------------
"Marina" <so*****@nospam.com> wrote in message
news:ei**************@TK2MSFTNGP10.phx.gbl...
Hi,
Let's say you have a textbox or a label with some text in it. Let's say
someone clicks on it.
Is there any way to tell if they clicked just on the text in the control,
or in white space that in the control if the control is wider then the
text it contains?