How can I create a Winamp-Style multiple-form snapped application in C# and .net 2.0?
+2
A:
Easy!
- Create three forms
- Add code to custom-draw everything on those three forms
- Add logic to handle the user clicking and dragging anywhere on any of the forms, such that the window is moved normally until it comes within a certain distance of another one of your own forms (or the edge of the screen), in which case you would snap the window position to that edge.
I look forward to your follow-up questions...
Shog9
2009-06-14 18:03:09
Piece of cake. Half a weekend worth of work! :D
Greg D
2009-06-14 18:04:14
Almost next next finish :D
Ólafur Waage
2009-06-14 18:07:06
How can I run three windows at the same time and control each of them individually?
2009-06-15 13:20:21
You can run any number of windows simultaneously, provided you don't block the message pump. There's no real trick to it... you just create and show the windows.
Shog9
2009-06-15 13:28:59
+1
A:
this works perfect for Windows Forms http://www.codeproject.com/KB/cs/stickywindows.aspx
Andrija
2009-06-22 07:20:34