PA_SetPluginWindowTitle

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_SetPluginWindowTitle (pluginRef; newTitle)

ParameterTypeDescription
pluginRefPA_PluginReferencePlugin data reference
newTitlechar *New title for the window

Description

The routine PA_SetPluginWindowTitle changes the title bar of a plug-in window.

Pass the reference to the plug-in private data in pluginRef. This reference is returned by PA_OpenPluginWindow, or could be received as a plug-in parameter, after the 4th Dimension programmer has called Open external window.

Example

Open a file and change the title bar.

   OpenAndChangeTitle()
   {
      char *theFile, char *thePath;

      if(MySuperRoutineOpenFile(theFile, thePath))
         PA_SetPluginWindowTitle(aRef, theFile);
   }

See Also

PA_OpenPluginWindow.

Error Handling

Use PA_GetLastError to see if an error occurred


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next