1. Re[2]: win32lib ltext onClick

J> Here's some controls that respond to left click: checkbox, radio,
J> horizontal scrollbar,combo, menuItem and statusbar. Popup responds to 
J> right click. Controls that respond to onMouse with LeftDown event are 
J> group, tabitem, LText, CText, RText, horizontal scrollbar, listview, 
J> combo, bitmap and statusbar.

I tried onMouse in LText control but the control does not
respond. Why?

new topic     » topic index » view message » categorize

2. Re: Re[2]: win32lib ltext onClick

Aku,
to have LText, RText and CText respond to onMouse events, you need to change
the win32lib.ew file. You need to find the line ...

    classAttr[LText]=0

and change it to ...

    classAttr[LText]=w32Clickable

and repeat this for RText and CText. Then by using the the SS_NOTIFY flag on
the create statement you can write onMouse handlers for these controls.

----
Derek.

----- Original Message -----
From: <aku at inbox.as>
To: "EUforum" <EUforum at topica.com>
Sent: Tuesday, November 13, 2001 12:05 AM
Subject: Re[2]: win32lib ltext onClick


>
> J> Here's some controls that respond to left click: checkbox, radio,
> J> horizontal scrollbar,combo, menuItem and statusbar. Popup responds to
> J> right click. Controls that respond to onMouse with LeftDown event are
> J> group, tabitem, LText, CText, RText, horizontal scrollbar, listview,
> J> combo, bitmap and statusbar.
>
> I tried onMouse in LText control but the control does not
> respond. Why?
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu