realbasic-nug
[Top] [All Lists]

How to tell if a window IS maximized

To: realbasic-nug at lists dot realsoftware dot com
Subject: How to tell if a window IS maximized
From: tbuchler <tbuchler at kinnor dot com>
Date: Tue, 27 Mar 2007 19:16:29 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
How can I tell that a window is currently maximized (i.e. at some time 
in the past, Window.Maximize was called -- not FullScreen)?

I can't even see how to set a variable for this: I see an event for when 
the window just became maximized and one for when the window just became 
minimized, but no event for when the window just became windowed.

(Needs to work in both Win and OSX).
-Tom

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


From  Tue 27 Mar 2007 17:19:24 -0600
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id 91CC61D34DBB; Tue, 27 Mar 2007 16:19:33 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on 
        www.realsoftware.com
X-Spam-Level: 
X-Spam-Status: No, score=-2.8 required=4.5 tests=ALL_TRUSTED,AWL,BAYES_00,
        NO_REAL_NAME autolearn=ham version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
        by xmail.realsoftware.com (Postfix) with ESMTP id 843F41D34DB0;
        Tue, 27 Mar 2007 16:19:32 -0700 (PDT)
Received: from real-software-mini.local (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP id AAF3819206C;
        Tue, 27 Mar 2007 18:19:28 -0500 (CDT)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from mail.verex.com (mail.verex.com [66.116.103.197])
        by lists.realsoftware.com (Postfix) with ESMTP id 59BE5192061
        for <realbasic-nug at lists dot realsoftware dot com>;
        Tue, 27 Mar 2007 18:19:24 -0500 (CDT)
Received: from [66.116.103.197] (localhost [127.0.0.1])
        by mail.verex.com (Postfix) with SMTP id 8A56E720F15
        for <realbasic-nug at lists dot realsoftware dot com>;
        Tue, 27 Mar 2007 17:19:24 -0600 (MDT)
Date: Tue, 27 Mar 2007 17:19:24 -0600
Subject: Re: Draping a picture on a trimesh
From: joe at strout dot net
To: realbasic-nug at lists dot realsoftware dot com
In-Reply-To: <730912 dot 58048 dot qm at web23415 dot mail dot ird dot yahoo 
dot com>
X-Mailer: VerEx Email Gateway
Message-Id: <20070327231924 dot 8A56E720F15 at mail dot verex dot com>
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

On Mar 27, 2007, at 22:58 UTC, Peter Wyeth wrote:

> I don't see a way of doing this out of the box with the Trimesh
> class, but I really hope I'm missing something.

You are -- this is a very straightforward application of the Trimesh
class (and its support classes).  You create the mesh with the
triangles however you want them; you assign the UV coordinates to pin
the texture on however you want it; you make a Material out of your
picture, and attach it to the Trimesh.  C'est tout!

Does this get you going?  Or, where exactly are you stuck?

Best,
- Joe

--
Joe Strout -- joe at strout dot net
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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