Results 1 to 2 of 2

Thread: MDI child - just stay inside! - small subclassing demo by using ssubtmr6.dll

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Jim Davis's Avatar
    Join Date
    Mar 2001
    Location
    Mars base one Username: Jim Davis Password: yCrm33
    Posts
    1,284

    MDI child - just stay inside! - small subclassing demo by using ssubtmr6.dll

    Hello!

    I just had to prevent the user to move a child form outside the mdi form. Well there i had to learn how to use Subclassing, that is just very painfull. Here is a small but great article about this thread.

    http://www.vbaccelerator.com/home/vb...er/article.asp

    Also here is the DLL i used to subclassing, that is simplify things.
    http://www.vbaccelerator.com/home/vb...Tmr_Binary.asp

    Just copy the dll (SSubTmr6.dll) into windows/system32, and use regsvr32 to register it!

    Both the child and MDI forms are 'hacked' for demo purposes.

    Hope you enjoy. Have fun!
    Attached Files Attached Files
    Last edited by Jim Davis; Nov 16th, 2008 at 01:53 AM.

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