July 23, 2024, 09:14:32 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Mouse over controls Version 2

Started by Andy, October 23, 2016, 06:38:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy

Hi,

I've added some more commands to my MouseOverControls include file, the original was quite popular so I have updated it.

NEW Commands:

MouseOverAnyControl - let's you know if the mouse is over any control.
MouseOverControlType - let's you know if the mouse is over any specified control type such as a button.

The MouseOverControl command now has an extra parameter - the control type it is

i.e. MouseOverControl(win,button_1,"win","B") - denotes it's a button.

I've used the following letters to denote the following:

     B - Button
     C - Checkbox
     E - Edit
     L - Listbox
     R - Radio
     S - Static
     V - Listview

But you could add in your own letters for extra control types.

Unzip, copy the include file to your IWBDev/Include folder.

Have a read of the help file, compile and enjoy.

You can play around with the new commands which should be placed in the timer section of the window's handler.

Thanks,
Andy.
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

Andy

October 23, 2016, 10:38:19 AM #1 Last Edit: October 23, 2016, 12:34:46 PM by Andy
Forgot to say, if you have downloaded the previous version, just overwrite them with the new download.
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.