From: "Michael C. Libby" Date: 2002-12-02T02:31:39+09:00 Subject: maximize window in FXRuby -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 With the following statement, I can create a window, and control its absolute placement and absolute size on my screen. But I don't want to control it like this. I want to simply create the window, and send it a "maximize window" message, having the window manager tell the application how big it should make its window and where to put the upper left corner. @app = Fox::FXApp.new() Fox::FXMainWindow.new(@app, "FoxApp", nil, nil, Fox::DECOR_ALL, 0, 0, 640, 640, 0, 0) Anybody know how to do this? I am using GNOME2 on Linux, but would hope that any solution would also work on Windows... can I somehow send a message to the window that mimics a user clicking the maximize button? Thanks in advance. -michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE96kcg4ClW9KMwqnMRAosvAKCgvRfLQFHe5s+JtOlJzGCeg8zz6wCgnLWX TKmj6pzqY77j1BzaAbrBeG8= =ZX+X -----END PGP SIGNATURE-----