gettingstarted
[Top] [All Lists]

RE: Active window

To: "'Getting Started'" <gettingstarted at lists dot realsoftware dot com>
Subject: RE: Active window
From: "RBNUBE" <rbnube at mabenterprises dot com>
Date: Sat, 27 Nov 2004 12:01:07 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
Importance: Normal
Keywords: rb-gettingstarted
Window(0) is the frontmost window.  If you have a print dialog window,
this would probably be the print dialog window and Window(1) would
probably be the window you are wanting to print.  If there is no print
dialog window, you would probably want Window(0).

HTH


-----Original Message-----
From: gettingstarted-bounces at lists dot realsoftware dot com
[mailto:gettingstarted-bounces at lists dot realsoftware dot com] On Behalf Of
Barrie Jones
Sent: Saturday, November 27, 2004 11:50 AM
To: RealBasic getting Started
Subject: Active window


How do I find the current active window in the following context? In
response to a menu "Print..." selection the program needs to know 
what to print as follows:
SELECT CASE  ActiveWindow <-------- ????? self.Title ?????
CASE Window1
CASE Window2
END SELECT

Thanks
Barrie

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>