You can not embed controls from any other source for use on a panel in OM. OM has it's own control handling/rendering so controls has to use the OM framework to function. But you can create your own controls by basing them off OMControl. If you look at the code here: http://openmobile.svn.sourceforge.ne...92&view=markup you'll see how you can create a control by your self. Most of the normal graphic commands from .Net should be available for you to draw your control.
This could easily be quite an advanced topic, but do some digging on your side and look at the link I provided. This should at least get you started.
The embedding plugin works like any other embedding as it only grabs the output window from the application and presents this inside an host application. The actual application runs like it normally does (although usually hidden).
Yes communication to and from the application is hard but not impossible. To do some actual communication you could use windowsmessages to the application window but the results might be limited. Usually you're limited to what you would be able to do in the application by mouse or keyboard inputs.
If you look at this link then you'll see some info on the topic: http://www.codeproject.com/KB/miscct...rth_embed.aspx



LinkBack URL
About LinkBacks
Reply With Quote


Bookmarks