realbasic-nug
[Top] [All Lists]

Re: The current process in Win

To: realbasic-nug at lists dot realsoftware dot com
Subject: Re: The current process in Win
From: realbasic at webconnected dot com
Date: Mon, 28 Feb 2005 12:32:43 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
In following this thread (no small task) I'm wondering if Dan simply
wants the Active Window.  

The GetActiveWindow function is a function that returns a handle to a
window?in this case, the application window that's currently active.
The GetWindowText function takes a handle to a window and returns
that window's caption if it has one.

Sorry if I missed the twists and turns of the thread and this is a
stupid suggestion.

-Scott.

WebConnected International
Killeen, Texas USA

---- Original Message ----
From: dan dot berghult at infomaker dot se
To: realbasic-nug at lists dot realsoftware dot com
Subject: Re: The current process in Win
Date: Mon, 28 Feb 2005 15:09:31 +0100

>>>t want to check to see that there isn't other _smarter_ ways to do 
>>>that in Win.
>>
>>Ah, in that case, no.  What you're doing is rather out of the 
>>ordinary... so that's why it's tough to do it.  The set of declares 
>>I posted earlier should help you out though -- assuming that Windows
>
>>doesn't consider *your* floater to be the frontmost window (in which
>
>>case you'll always get your application's ProcessInformation back 
>>from the call).
>
>
>That will of course be the result  :-)   I'll let you know.
>
>
>>>By the way...  The menubar in my global floating window doesn't 
>>>react to the mouse until I move or resizes the window. Looks like 
>>>either a bug in RB or a newbie-mistake. Do you have any clue?
>>
>>What version of RB are you using?  I just tested on 5.5.5fc2 and the
>
>>menubar works for me without having to do anything.
>
>I'm using 5.5.4
>
>>Are you setting the menubar dynamically, or just using 
>>Window.MenuBar to set it at design-time?
>
>
>It is set at the design-time.
>
>I'll create an empty app to see if it is me who is messing thing up.
>
>Dan
>_______________________________________________
>Unsubscribe or switch delivery mode:
><http://www.realsoftware.com/support/listmanager/>
>
>Search the archives of this list here:
><http://support.realsoftware.com/listarchives/lists.html>


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

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

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