[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Moving Borderless Window

Posted on 2010-09-24
3
Medium Priority
?
714 Views
Last Modified: 2012-05-10
Due to the UI constraints placed on me by the design team, I am forced to create a main window for a desktop application without any borders (i.e. FormBorderStyle = None).  This obviously means that the Window cannot move around the screen by default and thus is stuck in the center.

I have seen other applications wherein trying to drag such a window turns the border into, say, Fixed Single Line, so the window can be moved and then those applications revert to no borders when the window stops moving.

The Drag* events at the Form level are for controls being added to the form so those will not work, I had thought perhaps the Move event would work but it does not fire as the Window never moves...

Does anybody know how to make this work?
0
Comment
Question by:ktola
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 64

Accepted Solution

by:
Fernando Soto earned 2000 total points
ID: 33754120
Hi ktola;

See this Microsoft artical for the needed steps.

How to move a form by dragging the client area of the form
http://support.microsoft.com/?id=320687

Fernando
0
 

Author Closing Comment

by:ktola
ID: 33754295
That is awesome!  Thank you!
0
 
LVL 64

Expert Comment

by:Fernando Soto
ID: 33754321
Not a problem, glad to help.  ;=)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question