PA_SetWindowProcess

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

version 2003


PA_SetWindowProcess (wRef; pNum)

ParameterTypeDescription
wRefPA_WindowRefWindow reference
pNumlongProcess number

Description

The routine PA_SetWindowProcess sets the process whose number is pNum as the process where the window whose pointer is passed in wRef belongs.

IMPORTANT NOTE:

Do not apply this entry point to a window which belongs to to 4th Dimension or a System Error may occur.

Example

Create a window with a special private routine, and tell 4D that this window is ours.

   PA_WindowRef   w;
   w = MySpecialCreateWindow();
   PA_SetWindowProcess(w, PA_GetCurrentProcessNumber());

See Also

PA_GetWindowProcess.

Error Handling

PA_GetLastError always returns eER_NoErr


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