PA_GetWindowPtr

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

version 2003


PA_GetWindowPtr (windowRef) long

ParameterTypeDescription
windowRefPA_WindowRefWindow reference to convert to a MacOS WindowPtr
Function resultlongCorresponding WindowPtr value of a4DWindow

Description

The routine PA_GetWindowPtr converts a 4D window reference into a regular MacOS WindowPtr.

Note that, it is actually a simple typecasting of the reference. For future evolutions of this API, it is recommended using this routine instead of typecasting the 4D Window Reference yourself.


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