954,173 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

need help with docking app to side of screen

hi
I need help with docking app to side of screen. Anyone have idea how to do? I have no clue. Any any terminology, code, tutorials you know of? I use Visual basic.
I am NOT refering to permanent positioning with form coordinates and not talking about docking controls within forms.
If i have another app on right side as well my app has to sit next to it.
Thanks
steve

ncc1701d
Newbie Poster
2 posts since Feb 2005
Reputation Points: 10
Solved Threads: 0
 

Do you have any code already written, if so, send it to me. Also, are you trying to dock your app TO THE SIDE OF THE SCREEN, or dock your app to the right side of ANOTHER APP? This, I need to know.

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 
Do you have any code already written, if so, send it to me. Also, are you trying to dock your app TO THE SIDE OF THE SCREEN, or dock your app to the right side of ANOTHER APP? This, I need to know.

hi
no code yet. I am such a beginner. I am hoping for any info to get me going in right direction for researching it and understanding it. Most info i see is beyond me at this point in learning.

Maybe its more complicated than i think. basically I have app which is currently docked to right side of screen and i want my app to put itself in between that app and the right side of screen.
any thoughts?
thank
you. :-|

ncc1701d
Newbie Poster
2 posts since Feb 2005
Reputation Points: 10
Solved Threads: 0
 

that's going to be pretty difficult, but it can be done. What you need to look at is called API's, but, until you know a fair amount about the concepts and structures of programming... it's a little more advanced. If you want to look into it for youself, look up API's, and findwindow, with movewindow. That is how I would do what you are trying to do. I'd use findwindow, to get the hWnd of the window that you want to move, then I'd use movewindow to move the window away from the right. Then I'd dock my app to the right, and use movewindow again (for the window that we first moved) and move it to the left side of my app. If you need further assistance, by way of code or advice, just ask or you can e-mail me by clicking my name on this page, and sending e-mail. Let me know what's going on.

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You