|
-
Nov 26th, 2001, 04:39 PM
#1
Thread Starter
Addicted Member
Dockable Windows...How??
I've got an app in the planning stages in which I would like to use a dockable window. This window will contain a treeview to display a small file structure. How do windows programs accomplish this feat?
Thanks,
Phil
-
Nov 27th, 2001, 08:51 AM
#2
From looking at the MFC source code, I figured that they implement their own method. It seems that there is no built-in way. You'll need to get the right messages (WM_MOUSEMOVE or WM_MOVE or such) and handle them in a way to check where the window is and set it's pos to the frame of the parent window if near enough. You'll need to implement your own way to do that.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|