Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Centering...

0 views
Skip to first unread message

RbHs-News of Olympia

unread,
May 16, 2002, 9:30:29 PM5/16/02
to
Hello.

Is there a registry entry or a freeware utility that would force all newly
opened windows into the center of the screen.

For example, right-clicking on the desktop and selecting "Properties" opens
the "Display Properties" window on the top left side of the screen. Could
that window be opened in the center of the screen - I am using 1280 by 1024
pixels screen resolution.

Thanks.

--
Ray
Please reply to this newsgroup so that everyone can benefit.
To reply via e-mail, please use: [rbhs-news at attbi dot com]


David Candy

unread,
May 17, 2002, 4:04:46 AM5/17/02
to
A program usually specifies it's starting position. If not these are the rules.

Default Size and Position
An application can allow the system to calculate the initial size or position of a top-level window by specifying CW_USEDEFAULT in CreateWindowEx. If the application sets the window's coordinates to CW_USEDEFAULT and has created no other top-level windows, the system sets the new window's position relative to the upper left corner of the screen; otherwise, it sets the position relative to the position of the top-level window that the application created most recently. If the width and height parameters are set to CW_USEDEFAULT, the system calculates the size of the new window. If the application has created other top-level windows, the system bases the size of the new window on the size of the application's most recently created top-level window. Specifying CW_USEDEFAULT when creating a child or pop-up window causes the system to set the window's size to the default minimum window size.


It relative simple and easy to stuff about with a program's windows, so there are programs that do this. Here's what a search turned up
http://downloads-zdnet.com.com/3000-2094-6590024.html?tag=lst-0-9
--
---------------------------------------------------------------
David Candy
www.mvps.org/serenitymacros
http://www.winsite.com/bin/Info?500000002364 or http://www.simtel.com/pub/pd/18669.html

Please don't Reply To All - It gets confusing.
---------------------------------------------------------------
"RbHs-News of Olympia" <rbhs...@attbi.com> wrote in message news:VA.0000006...@attbi.com...

tiny.gif

RbHs-News of Olympia

unread,
May 17, 2002, 3:30:41 PM5/17/02
to
In a previous message, David Candy wrote:

> ...Here's what a search turned up

Thanks for the info... But this is not exactly the type of software that I
was looking for.

On another computer where I have an ATI video card installed, one of the
options available from the installed ATI drivers is to center all windows -
that is the option I was looking for ... which it not available with newer
releases of ATI products.

0 new messages