jonathanbcook
asked on
Dock Visual Basic Form to the bottom of the opperating system window.
I am trying to dock my visual basic form to the bottom of the opperating system window.
I am using win2k. I would like the form to dock just above the start menu.
The latest version of AIM (American Online Instant Messenger) incoporates this feature. AIM will dock to the side of the screen, I want my form to dock to the bottom of the window.
I am using win2k. I would like the form to dock just above the start menu.
The latest version of AIM (American Online Instant Messenger) incoporates this feature. AIM will dock to the side of the screen, I want my form to dock to the bottom of the window.
ASKER
I read the materails at the site that you gave me. It apperas that this project that you referenced is for making MDI visual basic applications. I am not trying to create an MDI application.
Again, I am trying to dock the visual basic form to the bottom of the operating system window. I would like to have all other application on the screen above my visual basic application when I maximize any other window.
Please correct me if I am wrong.
Jonathan
Again, I am trying to dock the visual basic form to the bottom of the operating system window. I would like to have all other application on the screen above my visual basic application when I maximize any other window.
Please correct me if I am wrong.
Jonathan
ASKER
The project referenced by JohnMcCann is very close to what I am looking for. The differences are:
A. I am looking for:
1. I want to have my form docked to the bottom of the window.
2. I want to use my form, or create a new form.
3. I want to be able to use the controlls on my form (ex: text box, combo box).
B. This is what the project that John references.
1. This project creates a TOOLBAR and docks the toolbar.
2. No controls (ex: text box, combo box) can be used in the example that John references.
3. The sample code docks the toolbar correctly to the top of the window and the sides of the window, but It does not dock correctly to the bottom of the window. It does not dock correctly to the bottom of the window because, application exten below the docked area.
Thanks for the input.
Jonathan
A. I am looking for:
1. I want to have my form docked to the bottom of the window.
2. I want to use my form, or create a new form.
3. I want to be able to use the controlls on my form (ex: text box, combo box).
B. This is what the project that John references.
1. This project creates a TOOLBAR and docks the toolbar.
2. No controls (ex: text box, combo box) can be used in the example that John references.
3. The sample code docks the toolbar correctly to the top of the window and the sides of the window, but It does not dock correctly to the bottom of the window. It does not dock correctly to the bottom of the window because, application exten below the docked area.
Thanks for the input.
Jonathan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you very much
The functions that I was looking for were:
SHAppBarMessage
and
SetWindowPos
Both of these functions are windows API calls.
Thank you.
Jonathan
The functions that I was looking for were:
SHAppBarMessage
and
SetWindowPos
Both of these functions are windows API calls.
Thank you.
Jonathan
http://sourceforge.net/projects/tabdock/
It does a GREAT job of docking and displaying forms as well as working with MDIForms as well. This is freeware. The commercial versions of like code would cost you several hundred dollars.
Enjoy!
- Jim