Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
This little control greatly simplifies the busines
Author:
Merrion Computing
E-mail:
Click to e-mail author
Website:
http://www.merrioncomputing.com
Submitted:
4/5/2001
Version:
VB5
Compatibility:
VB5, VB6
Category:
Windows API
Downloads:
7284
This little control greatly simplifies the business of subclassing a form to get at the extra events that the Visual basic designers left out. i.e.: * ActiveApplicationChanged - Fired when a user switches away from, or in to your application * LostCapture - Tells you when your application loses the keyboard focus * KeyPressed - When any key is pressed..can even diosatinguish between left and right shift keys * LowMemory - Fired when the system is running low on memory * Move - When a form is moved (I'm surprised this wasn't included in VBs own form events) * VerticalScroll - When a form's vertical scroll bar is acted upon * HorizontalScroll - The same for the horizontal scrollbar * WindowsSettingsChanged and WindowsINIChanged - To tell you that the user has changed a global system setting * NonClientMouseMove, NonClientMouseDown, NonClientMouseUp, NonClientDblClick - Mouse events for the non client area of your form (the caption, menu, frame etc.) * MinMaxSize - Set when windows is deciding what size to maximise or restore your form to...provides a classy way to restrict the sizes to which a form can be resized. * MouseOverMenu - When the mouse moves over a menu...allows you to update a status bar according to which top level menu the mouse is tracking over and * WindowMessageFired - Fired for all the other windows messages. To use it: private Sub Form_Load() me.VBEventWindow1.ParentForm = me.Hwnd End Sub
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement