|
![]() |
![]() |
version 2003
PA_SetPluginWindowTitle (pluginRef; newTitle)
Parameter | Type | Description | |
pluginRef | PA_PluginReference | → | Plugin data reference |
newTitle | char * | → | 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
Error Handling
Use
PA_GetLastError
to see if an error occurred