Are there any thinkdb plugin developers out there??

I am currently developing a plugin for thinkDB
and I am having a few problems getting the plugin to load properly.
The plugin is very close to complete but I need a couple of answers that
were not clear in the plug-in documentation.

Such as:
When a user activates the plugin I wish to load my own forms. Can this be done??

In the plugInCmdPerform can I call a FrmGotoForm( MYMainForm ) and then execute
the frmLoadEvent??

Such as....
case plugInCmdPerform:

    FrmGotoForm( MYMainForm );
    EvtGetEvent( &event, 10 );

    switch( eventP->eType )
 {
      case frmLoadEvent:  // A form has been loaded
      {

       formID = eventP->data.frmLoad.formID ;
       formP = FrmInitForm( formID );
       FrmSetActiveForm( formP );

       switch( formID )
       {
            case MYMainForm:  // The resource ID of the main form
             FrmSetEventHandler( formP, MainFormHandleEvent );
             break;
       }

  }


Thanks so much!


----
Nate Adamson
[EMAIL PROTECTED]








-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to