realbasic-plugins
[Top] [All Lists]

Re: Windows Window Handle

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Windows Window Handle
From: Seth Willits <seth at freaksw dot com>
Date: Thu, 19 Aug 2004 15:40:28 -0700
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <MIEGIAIDACKOKGMAKEJOKELGIKAA dot vvor at jesuschrysler dot com>
On Aug 19, 2004, at 2:48 PM, vvor wrote:

How can i get a Handle to the main window of a windows application
without actually having a control on it and calling
"REALGetControlWindow"

can you pass in self.hwnd from the RB host application?

Good idea, but id rather not. I dont need it on mac and i want the api
to be the same.

actually, self.hwnd seems to pass in 0 on macs, at least on 5.5. some earlier
version caused problems, so in rb i was checking targets.

Maybe I missed something earlier in the thread, but why can't you simply pass the window itself to the plugin? Then it's the same code in REALbasic for all platforms.



Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic

"Information is free. Intelligence is a gift."
------------------------------------------------------------------------ ---

_______________________________________________
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>