[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Screen width and height
From:       David Faure <faure () kde ! org>
Date:       1999-10-29 20:51:03
[Download RAW message or body]

On Fri, Oct 29, 1999 at 09:19:35PM +0200, Markus Goetz wrote:
> Hi
> 
> how can i get the height and width of the screen in pixels (so that i can
> center my window)
Is it for a real window or a dialog box ?
I think dialog boxes with parent = 0L automatically centered.

But generally, for windows, it all depends on the user's settings
(smart placement, ...) so better respect that.

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic