• Advertisement
Sign in to follow this  

[.net] lock winform to top, left, right or bottom of desktop

This topic is 4446 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

Hi, I have a tricky winform request that i'm not sure can be done. You know how when you unlock the win xp taskbar, you can drag it to any side of the desktop and it locks into place. Is is possible to have this functionality with my win form program? Its 100 pixels wide so i'd ike it to start up locked to the right side of the screen and when the user clicks it, they can drag and drop it to the top, bottom ect. Any tips would be great. Thanks

Share this post


Link to post
Share on other sites
Advertisement
It's actually pretty easy, but not very straightforward and involves some work. Check out a good sample here.

Hope that helps,
-- k2

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement