Click location

  • Thread starter Thread starter Marina
  • Start date Start date
M

Marina

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?
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top