1 Attachment(s)
Extended Form Events control.
hi!
I created this control back in 2002, i shared its ocx form but not code... then i got real busy... and now back to share its code also..
This ActiveX Control gives you some extended events of the form, like form resizing(which doesn't flicker), mouse events on non-client areas(like titlebar, borders, menus etc)
The code, and a test project attached ....
Suggestions for any improvement is welcome...
Re: Extended Form Events control.
Very nice :thumb: :)
Quote:
Originally Posted by moinkhan
Suggestions for any improvement is welcome...
- Make an event like Form_Move (I hate it how VB doesn't have that)
- Disabling some things doesn't work if you do it on their own (like close, doesn't work unless you also disable maximize)
- Couldn't get a menu mouse move event on any menus other than File.
Other than that, very good work :thumb:
Re: Extended Form Events control.
Quote:
Originally Posted by penagate
Very nice :thumb: :)
- Make an event like Form_Move (I hate it how VB doesn't have that)
- Disabling some things doesn't work if you do it on their own (like close, doesn't work unless you also disable maximize)
- Couldn't get a menu mouse move event on any menus other than File.
Other than that, very good work :thumb:
thanx for the suggestions penagate...
here these options work...
i will look into it deeper... then will let u know...
thanx again..
Re: Extended Form Events control.
Quote:
Originally Posted by penagate
Very nice :thumb: :)
- Make an event like Form_Move (I hate it how VB doesn't have that)
- Disabling some things doesn't work if you do it on their own (like close, doesn't work unless you also disable maximize)
- Couldn't get a menu mouse move event on any menus other than File.
Other than that, very good work :thumb:
For form move event... i am on it... :)
and the issues you have raised..unfortunately.. i was unable to reproduce these errors here...
I tested on XP, Win2K and win98.. :confused:
Re: Extended Form Events control.
Quote:
Originally Posted by moinkhan
...the issues you have raised..unfortunately.. i was unable to reproduce these errors here...
I tested on XP, Win2K and win98.. :confused:
It seems the blame lies with WindowBlinds. I unloaded it and then the disabling options all worked. Unfortunately then I couldn't get any MenuMouseMove events for the top-level menus. I then reloaded WindowBlinds and got MenuMouseMove events for the File menu, but not the Edit menu.
Oh well :p
Re: Extended Form Events control.
Quote:
Originally Posted by penagate
It seems the blame lies with WindowBlinds. I unloaded it and then the disabling options all worked. Unfortunately then I couldn't get any MenuMouseMove events for the top-level menus. I then reloaded WindowBlinds and got MenuMouseMove events for the File menu, but not the Edit menu.
Oh well :p
... strange enough... :eek:
Would love to reproduce this error here as well.. :rolleyes:
Re: Extended Form Events control.
hi, :)
your tool is quite bloody good.
What i am missing is, like others a function for an move-event of a form, when it is possible too, for dynamic genrated mdi-child-forms.
dears
wandancer :wave:
Re: Extended Form Events control.
Hi !
That event you provided for VB6 is very usefull. :thumb:
I wonder why it hasn't been there at the start? Manually moving a window is so common.
Have you tried it on a dual screen installation ?
For me, it is working on Screen 1, but the window disappears when I move it on screen 2.
Oncle Richi
Re: Extended Form Events control.
Its probably a limitation of VB6 as .NET has these features, except the titlebar stuff, already built in. It has a object for working with multiple displays.
Evolution takes time but to create/extend events like this can be continued on with API code like shown in the API FAQ thread (flicker free form resize is in there for ex.).
Re: Extended Form Events control.
Quote:
Originally Posted by Oncle_Richi
Hi !
That event you provided for VB6 is very usefull. :thumb:
I wonder why it hasn't been there at the start? Manually moving a window is so common.
Have you tried it on a dual screen installation ?
For me, it is working on Screen 1, but the window disappears when I move it on screen 2.
Oncle Richi
Thanks..
I shifted from VB to java... so i do not know whether all or some of these events are provided in .Net or not...
I didn't check it with Dual screen ...