lcColorLoadPalette Home

Loads LiteCAD color palette from a file.

 BOOL lcColorLoadPalette (
   LPCWSTR szFileName,
   HANDLE hWnd
 );

Parameters
szFileName
  Filename. If empty string is specified then function will call a dialog where user can select the file.
hWnd
  Handle of parent window for "Load File" dialog. Used only if szFileName is empty string.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  ColorslcColorSavePalette