This method registers an application with the Forms Manager, indicating that the application has started.
HRESULT RegisterStartedApplication( OLE_HANDLE hFC BSTR bstrAppName LONG AppMsgID LONG Flags );
NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.
An application needs to call this method to get the focus. This method associates a name for an application with a running process. The name should correspond the name of the application in the shell. While an application remains registered with the Forms Manager, the shell does not need to restart the application in order to restore the focus to that application. An application that is registered with the Forms Manager should call IfmManage::DeregisterStartedApplication to remove the registration from the application before exiting.
Context handles are always to the faceplate screen.
To enable message passing between applicationsThe AppMsgID parameter is a Windows-based message identifier.
IfmManage::DeregisterStartedApplication