Re: [Fxruby-users] Identifying Display Properties
Status: Inactive
Brought to you by:
lyle
From: Sander J. <sa...@kn...> - 2004-06-22 04:00:50
|
On Monday 21 June 2004 08:26 pm, Joseph wrote: > Hi Mailinglist. > > 1. Under MS Windows, does FXRuby provide any way to identify the > resolution of the current display (i.e. is the display running in > 640x480 mode, or 800x600, 1024x768, 1280x1024, or whatever)? The rootwindow has this kind of information (in C++): getApp()->getRootWindow()->getHeight(); getApp()->getRootWindow()->getWidth(); > 2. The SEL_CONFIGURE event of an FXWindow object, sent when the window's > size changes, is accompanied by an FXEvent. The FXevent includes entries > for root_x and root_y, as well win_x and win_y. How do I tell the > current width and height of the main window? event.rect.x event.rect.y event.rect.z event.rect..h Sander > > TIA, > Joseph > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users -- "Nervous hands grip tight the knife In the darkness, till the cake is cut" - Peter Gabriel |