fg_defpal()Win32 DirectX Fastgraph/Light Prototype HPALETTE fg_defpal (void); Function fg_defpal () As Long function fg_defpal : HPALETTE; Description The fg_defpal() function creates a logical palette containing Fastgraph's default colors. It often appears in the WM_CREATE message handler. Parameters none Return value A Windows handle to the new logical palette. If an error occurs in creating the logical palette, fg_defpal() returns zero. Restrictions none See also fg_getdacs(), fg_getrgb(), fg_logpal(), fg_realize(), fg_setdacs(), fg_setrgb() Examples First and nearly all the other example programs use this function.
|
 
copyright 2001 Ted Gruber Software, Inc.