« Return to Thread: Keyboard input in embedded application

Re: Keyboard input in embedded application

by M0E Lnx :: Rate this Message:

Reply to Author | View in Thread

>
> The documentation is not clear.
>
> A Gambas window does not follow the XEMBED protocol -by default-.
>
> To do that, you must not embed the application from the embedder, but from the
> embedded one, by using the Application.Embedder property before creating the
> main window.
>
> In other words:
>
> - Run your embedder application.
>
> - Note the window id of the Embedder control.
        HOW ???
>
> - Run the embedded application and pass the previous window id as argument.
      HOW?
>
> - In the embedded application, set the Application.Embedder property to the
> received window id.
    WHICH WINDOW ID ?? THEM EMBEDDER'S OR THE EMBEDDED?
>
> - Create your main window. Now, your application will follow the XEMBED
> protocol.

Could you give a little more detail on how to accomplish this?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

 « Return to Thread: Keyboard input in embedded application