borderAndreaVB free resources for Visual Basic developersborder

AndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincani

AndreaVB Home | News Home | Forum Home | Downloads | Register | Search | PM | Profile

Previous Topic (Mapping from frontpage to printer)Next Topic (functions API in VBA) New Topic Post Reply
AndreaVB OnLine : API : Interface Tricks
Poster Resource
fabulous
Level: VB Guru


Registered: 03-08-2002
Posts: 439
icon Interface Tricks

Hey guys...

I once posted this problem in the General section but still have no reply. I thought that it could also be placed under API so here goes...

I need to know of any API trix that can allow me to make a form dock to the main window in the program, much like what our toolbox does in the VB IDE.

I ended up doing a trick with Z-Order so that the form floats above the others when it is visible. Please let me know of any Freeware, Shareware, Websites, Downloads or API calls that I could use to do so. Thanks a lot...

____________________________
My boss is a Jewish Carpenter (Jesus Christ)


Brain Bench Certified VB.NET Developer

22-08-2002 at 06:59 PM
View Profile Send Email to User Show All Posts Visit Homepage | Add Comment
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1658
icon Re: Interface Tricks

You could always:
1)put a picture box on the form
2)load the "docking" form
3)and set it's parent to the picturebox.

IE:
Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long

SetParent frmDock.hWnd, frmMain.picDock.Hwnd


22-08-2002 at 09:09 PM
View Profile Send Email to User Show All Posts Visit Homepage | Add Comment
fabulous
Level: VB Guru


Registered: 03-08-2002
Posts: 439
icon Re: Interface Tricks

Thanks a lot.

Doing that looks and feels better for my users. You have made my day.



____________________________
My boss is a Jewish Carpenter (Jesus Christ)


Brain Bench Certified VB.NET Developer

29-08-2002 at 02:55 PM
View Profile Send Email to User Show All Posts Visit Homepage | Add Comment
AndreaVB OnLine : API : Interface Tricks
Previous Topic (Mapping from frontpage to printer)Next Topic (functions API in VBA)New Topic Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder