Run only one instance of your application: Difference between revisions

m
no edit summary
mNo edit summary
Line 73: Line 73:


  Class myPanel is a Panel
  Class myPanel is a Panel
 
    // DoCheckProgramActive
// DoCheckProgramActive
    // Checks if the program already is active.
// Checks if the program already is active.
    // If so, it activates the running application and closes this one.
// If so, it activates the running application and closes this one.
      Procedure DoCheckProgramActive
Procedure DoCheckProgramActive
  String sTitle
  String sTitle
  Handle hWnd
  Handle hWnd