Results 1 to 5 of 5

Thread: VB - Form move detection without subclassing

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Location
    Gloucestershire, England
    Posts
    301

    Smile VB - Form move detection without subclassing

    This code example shows you how to detect form movement (if your form has been dragged by the title bar for example) without using subclassing.

    Note: Do not use this code if you already use the LockwindowApi as you can only lock one Hwnd at once.
    Attached Files Attached Files

  2. #2
    Lively Member
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    96
    it also responce to scaling..
    left and top..
    not the right an bottom.
    http://www.raketje.com coming..............soon................

  3. #3
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    Yes

    it also responce to scaling..
    Obviously enough - that's where the form position is measured, so it shoud respond to scaling.
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Location
    Gloucestershire, England
    Posts
    301
    bekkel, vbNeo

    That a good point, heres a new version that does not respond to scaling.
    Attached Files Attached Files

  5. #5
    New Member
    Join Date
    Jun 2011
    Posts
    2

    Re: VB - Form move detection without subclassing

    How do you import the files into your application?

    update: found it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width