Form.Location in the middle of the screen

  • Thread starter Thread starter Martin Asselhoff
  • Start date Start date
M

Martin Asselhoff

Hello newsgroup!

What is the most elegant way to locate the window of your application in the
middle of the screen in CF.

How can I get the boundaries(resolution) of my device's display(monitor)?
 
Take a look at Forms.Screen.WorkingArea. This property
gives you the working area of the display. The working
area is the desktop area of the display, excluding
taskbars, docked windows, and docked tool bars.

Regards,
Maarten Struys, eMVP
PTS Software bv
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top