|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Form EventHello,
what event fires off when, The user clicks the title bar and moves the form? thanks, brian "Brian Shafer" <BrianSha***@discussions.microsoft.com> wrote in message None. You must subclass the form to detect movement. Search this group and news:B36E5FE5-69B1-481F-B860-BF5D785147E8@microsoft.com... > what event fires off when, The user clicks the title bar and moves the > form? you'll find some good info on how to do it. would you have an idea of what keywords to use for the serach? form detect
movement and detect movement... I'll try subclass but would assume that'll return alot Show quoteHide quote "Jeff Johnson [MVP: VB]" wrote: > > "Brian Shafer" <BrianSha***@discussions.microsoft.com> wrote in message > news:B36E5FE5-69B1-481F-B860-BF5D785147E8@microsoft.com... > > > what event fires off when, The user clicks the title bar and moves the > > form? > > None. You must subclass the form to detect movement. Search this group and > you'll find some good info on how to do it. > > > This should get you started:
http://www.vb-helper.com/howto_detect_border_click.html I recommend the subclass component from VBAccelerator: http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/SSubTimer/article.asp -- Show quoteHide quoteChris Hanscom - Microsoft MVP (VB) Veign's Resource Center http://www.veign.com/vrc_main.asp Veign's Blog http://www.veign.com/blog -- "Brian Shafer" <BrianSha***@discussions.microsoft.com> wrote in message news:A38C6A42-C7EE-41BC-A03C-9E054277A2E6@microsoft.com... > would you have an idea of what keywords to use for the serach? form > detect > movement and detect movement... I'll try subclass but would assume that'll > return alot > > "Jeff Johnson [MVP: VB]" wrote: > >> >> "Brian Shafer" <BrianSha***@discussions.microsoft.com> wrote in message >> news:B36E5FE5-69B1-481F-B860-BF5D785147E8@microsoft.com... >> >> > what event fires off when, The user clicks the title bar and moves the >> > form? >> >> None. You must subclass the form to detect movement. Search this group >> and >> you'll find some good info on how to do it. >> >> >> Brian Shafer wrote:
> Hello, Take a look at this: http://vb.mvps.org/samples/FormPair> what event fires off when, The user clicks the title bar and moves > the form? thanks, brian It shows how to subclass a form, catch the WM_MOVE/WM_MOVING messages, and react to them.
Change language keyboard
Run-time error 3706 System Error &H80004015 (-2147467243) running VB6 IDE ActiveX DLL Intercepting File read/write request from any program active desktop Database connection/Access help Show all connections VB.net Hide Column in MSHFlexgrid Choosing source from video capture card |
|||||||||||||||||||||||