Re: wxMax & Plug-in Hosting

5 views
Skip to first unread message

Bjoern Petersen

unread,
Dec 28, 2006, 4:35:57 AM12/28/06
to wx-u...@lists.wxwidgets.org
2006/12/25, Manfred Hanke <ann...@free.fr>:

> code for MSW and MAC the same.
>
> EffDispatch(effEditOpen, 0, 0, ptr /* the handle of wxWindow */ )

You should use ptr.GetHandle() to obtain the "real" system HWND or
WindowPtr. (or do you already mean this when writing "ptr")

--
http://www.silverjuke.net

Manfred Hanke

unread,
Dec 28, 2006, 1:17:28 PM12/28/06
to wx-u...@lists.wxwidgets.org

Yes ... I use this on MSW, give the HWND to FX, and the GUI of the plugin,
is open right on the wxWindow but in wxMac, that is not woking !

If I create a window with "CreateNewWindow" (carbon api) and give the
windowRef to the plugin this is OK and work,
but from a wxPanel (GetHandle() ) that not work..


""Bjoern Petersen"" <silve...@gmail.com> a écrit dans le message de
news:bd17bfe30612280135q2db...@mail.gmail.com...

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-u...@lists.wxwidgets.org
> For additional commands, e-mail: wx-use...@lists.wxwidgets.org
>

Reply all
Reply to author
Forward
0 new messages