Re: Win32 Static Controls

new topic     » goto parent     » topic index » view thread      » older message » newer message

>Does anyone know a way to get around the fact that the STATIC class of
>controls won't respond to windows events?  For example, I want to create an
>LText that changes text or does some other cool thing when the mouse rolls
>over it.  I COULD just create an EditText with the WindowBackColor set to
>match the window, with no border or 3-D effects, but I'd rather just use an
>LText.  Eventually, I'll end up finding myself in the same boat on ALL the
>STATIC class controls, so if anybody has a suggestion, I'd love to hear it!
>
>Thanks in advance,
>
>Brian

I'm not really familiar with Euphoria Windows programming. (So bear with me
if this isn't feasible in Eu), but I know in C (yes I can hear the gasps
from the community now for mentioning the vile beast :P) that all you have
to do is put code in the mousemove event section that when the mouse's
coordinates correspond with what your control's bounds are, it changes the
properties of the control that you want.

Hope this helps,
Adam Weeden
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu