View Full Version : The mechanism of two applets
Jason Yao
03-14-2002, 01:57 AM
A applet to help users input the characters expect English was made by me. Then I hope all applets are able to call it if there are ITEXTCTL.
Should I use INOTIFY ? Will two applets work well together? I mean they display on same screen and one sents data to the other?
kamal
03-18-2002, 08:42 PM
You can use ISHELL_PostEvent()/ISHELL_SendEvent() to communicate between two applets. Based on your description of the text input applet, I think, it will be better to make it a module and expose various interfaces for text input.
Active applet will have access to display. It is apps responsibility to make sure that it does not mix the data displayed by two apps.
-Kamal
Jason Yao
03-21-2002, 11:00 PM
Thank you,Kamal.
I will try as you said.
vBulletin v3.0.13, Copyright ©2000-2009, Jelsoft Enterprises Ltd.