Using event handlers - (obsolete version)

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

The only bit that was in your original was:

Code: Select all

result = CallWindowProc_(result, hWnd, uMsg, wParam, lParam) 
This is the line that caused the crash. Did you not have this line? I've just checked the v2.01 zip again and it has this line - if you don't have it then it is pretty strange.

I've tried redownloading the v2.01 from the 1st page of the thread - not there now?
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

No, this line was present, but should not have been! :oops:

Remove it please.

I am presently taking the opportunity to upgrade EasyVENT a little so it will be an hour or so before I upload the new version.

Regards.
I may look like a mule, but I'm not a complete ass.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

An upgrade... :D

Whats's being added?

I've got used to using EasyVent while coding Elementary Reports, it makes a *lot* of things much easier and neater. Fred/Freak should include something similar in PureBasic. It would be good to have it multi-platform.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

DoubleDutch wrote:An upgrade... :D

Whats's being added?
Now that's on a need to know basis! :wink:

My current app is making very heavy use of EasyVENT and when I find that this app is in need of another event or two, then EasyVENT gets an upgrade!
I may look like a mule, but I'm not a complete ass.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Update: 18th September 2007. Version 2.02.
This is a semi-major update! :)

First, it 'breaks' the change made in version 2.01, in that the extra functionality offered by that version is still offered, but in a different guise! I apologise for this, but that particular alteration forced EasyVENT into a bit of a corner!

Version 2.02 extends the #OnItemSelecting event and introduces a completely new event #OnItemCheckboxChanging.

First, #OnItemSelecting.
Unlike the event #OnItemSelected, this event fires when the user selects a new item in a registered gadget but before the system changes the selection. This gives the developer the opportunity to refuse the selection. This used to apply only to tree, explorertree and panel gadgets, but EasyVENT 2.02 now supports listicon and explorerlist gadgets with this event.

In the case of these newly added gadgets, the event handler is informed whether the user is attempting to select or deselect an item etc.

#OnItemCheckboxChanging.
This new event fires when the user attempts to alter a checkbox in an item of a control which supports this event (currently ListIcon gadgets and Tree gadgets) but is sent before the checkbox has been altered and so the developer has the opportunity to refuse these changes etc.

Any event handler used to process this event is informed whether the user is attempting to check or clear a checkbox etc.

Please see the help manual and/or the ListIcon and TreeGadget demo programs for more details.

See the first post for the revised download.
I may look like a mule, but I'm not a complete ass.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

DOWNLOAD LINK REMOVED whilst I fix a bug and undertake a complete rewrite. EasyVENT 3 will be a lot more powerful. :wink:
I may look like a mule, but I'm not a complete ass.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Update: 20th September 2007.

Major update.

Version 3.0.0.

Please see the new thread on EasyVENT 3 as this is totally incompatible with earlier versions.

The original version of EasyVENT is still available : HERE
whilst version 2.02 is HERE

Whilst poeple are welcome to use these now out of date versions, I will not be offering any kind of support for any version of EasyVENT prior to 3.0.0. I simply do not have the time.

:)
I may look like a mule, but I'm not a complete ass.
mestnyi
Addict
Addict
Posts: 1098
Joined: Mon Nov 25, 2013 6:41 am

Re: Using event handlers - (obsolete version)

Post by mestnyi »

Wanted to try the link is not available, can anyone have?
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: Using event handlers - (obsolete version)

Post by Vera »

Hi,

Have a look at srod's "My old utilities" to find out where they are.

Currently available for download is: EasyVENT PB 5.21

greets ~ Vera
mestnyi
Addict
Addict
Posts: 1098
Joined: Mon Nov 25, 2013 6:41 am

Re: Using event handlers - (obsolete version)

Post by mestnyi »

will try :)
Post Reply