B.3 Accessing Windows Graphics Resources

XPCE on Win32 defines the same cursor, colour and font-names as the Unix/X11 version to guarantee portability. It is desirable to have access to all the native Windows graphical resources. This allows the application to maintain better look-and-feel compatibility to other Win32 applications. Therefore the classes colour, cursor and font provide access to related Window resources.

It is NOT advised to use these objects in your application code directly as this will stop the application to run on the Unix/X11 version of XPCE. We advice using these objects in the XPCE defaults file (<pcehome>/Defaults) only, or use conditional code using `pce<-window_system'.