Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

23yrold3yrold

Win32: Dockable windows

This topic is 5424 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

... how? Can someone just give me a little push in the right direction? Google has not been terribly kind to me on this topic. Specifically, I''m making a dockable window for my tilemap editor. The window contains the tileset for selecting the tile to draw with, and can either be part of the main window (taking up the right side), a floating window by itself, or just closed. How is it done?
Chris Barry "A page of history is worth a volume of logic." -- Oliver Wendell Holmes

Share this post


Link to post
Share on other sites
Advertisement
Though i have never done this, If i were doing it i would:

1 catch the WM_LBUTTONUP message when your window is moved
2 check to see if its around area to dock it to
3 if yes use SetWindowPos() or whatever to size and move window accordingly and hide the title bar else ignore

[edited by - bjz on December 12, 2003 12:47:43 AM]

Share this post


Link to post
Share on other sites
I likes me the looks of that tutorial
Great stuff; I have to go to bed but I''ll hit it first thing in the morning. Thanks.


Chris Barry
"A page of history is worth a volume of logic." -- Oliver Wendell Holmes

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!