Page 4 of 9
Posted: Fri Oct 12, 2007 11:38 pm
by DoubleDutch
On NT4 if you EasyVent the #OnDragItemStart message on a tree (it may happen on other gadgets I haven't checked) then the scroll bars (both H & V) for the gadget don't work unless double-clicked.
I've checked and when you click on the scrollbar the #OnDragItemStart message is called.
The #OnDragItemStart message performs as it should in all other respects on NT4.
Any ideas on how to fix this?
Posted: Sat Oct 13, 2007 10:18 am
by srod
Bloody NT 4!!!
Sounds like either a mouse capture issue or one stemming from the fact that, at certain points related to the #OnDragItemStart process, default window's processing is not called.
Try this first :
change the line
Code: Select all
If GetProp_(hwnd,"EVENT_"+Str(#OnDragItemStart))
to
Code: Select all
If GetProp_(hwnd,"EVENT_"+Str(#OnDragItemStart)) And uMsg = #WM_LBUTTONDOWN
Posted: Sat Oct 13, 2007 10:43 am
by DoubleDutch
Looks like it's to do with themes, not just NT4 - it happens on anything where themes are disabled.
But....
Your fixed worked!!!

Posted: Sat Oct 13, 2007 10:45 am
by srod
Which confirms the mouse capture theory!
The problem then is in my extending the mouse messages to include their non-client counterparts.
Can you double check the fix if you don't mind.
I don't want to release a fix if there's still a chance that things are still amis!
Thanks.
Posted: Sat Oct 13, 2007 11:05 am
by DoubleDutch
I've checked it on NT4, XP (with & without themes), 98 SE, 95, Me, 2K & Vista!
I didn't just check that the gadget scrollbar worked fine, I also did a check that the drag/drop was also working ok. I only checked trees.
Looks fixed.
You should do what I do: I have a machine with virtual PC and all the different types of windows setup (xp with & without themes). It's pretty easy to check things out then. The latest Virtual PC is free from Microsoft.
Posted: Sat Oct 13, 2007 11:12 am
by srod
DoubleDutch wrote:You should do what I do: I have a machine with virtual PC and all the different types of windows setup (xp with & without themes). It's pretty easy to check things out then. The latest Virtual PC is free from Microsoft.
Yes, but that would then mean I'd have no excuse for not performing all the checks myself! This way I can get others do do all the leg work (but mum's the word!)
Thanks, I'll upload the fix right now.
Posted: Sat Oct 13, 2007 11:13 am
by DoubleDutch
This way I can get others do do all the leg work

Posted: Sat Oct 13, 2007 11:18 am
by srod
14th October 2007. (Purebasic 4.1 onwards). Minor bug fix - version 3.1.1.
Version 3.1.1 fixes a drag / drop problem which would cause problems on machines running NT 4. Thanks to DoubleDutch.
Please see the first post for the download link.
Posted: Sat Oct 13, 2007 11:21 am
by gnozal
srod wrote:14th October 2007. (Purebasic 4.1 onwards). Minor bug fix - version 3.1.1.
Version 3.1.1 fixes a drag / drop problem which would cause problems on machines running NT 4. Thanks to DoubleDutch.
Please see the first post for the download link.
404 error here.
Link was
http://www.purecoder.net/EasyVENT-v3.1.zip
Posted: Sat Oct 13, 2007 11:26 am
by srod
No problem here. The link in the first post now gives :
www.purecoder.net/EasyVENT-v3.1.1.zip
Try refreshing your cache etc.
Posted: Sat Oct 13, 2007 11:28 am
by gnozal
Posted: Sat Oct 13, 2007 12:07 pm
by DoubleDutch
Version 3.1.1 fixes a drag / drop problem which would cause problems on machines running NT 4
Slightly inaccurate: The problem occured on ALL systems when themes were disabled (which is the default on pre-XP because there are no such things as themes on pre-XP).
Posted: Thu Nov 15, 2007 12:23 am
by kinglestat
I have finally given this a look
really nice piece of work
incredibly handy and lets you keep tidy and modular
I'm impressed and thanks!
Posted: Thu Nov 15, 2007 12:36 am
by srod
You're welcome Kinglestat.

Posted: Thu Nov 15, 2007 1:08 am
by byo
As always, wonderful job!
*sends beer*