Visit Gigasoft's Web Site
 ProEssentials v9 Help

PElaunchcolordialog

BOOL PElaunchcolordialog (hObject)

 

HWND 

hObject

The handle returned from PEcreate.

 

This function used to invoke a modal color customization dialog. It now shows the customization dialog.

 

Returns

If successful, the function returns the result of the closing dialog, either IDOK, or IDCANCEL.

 

If unsuccessful, the function returns -1.

 

Comments

Ocx|Vcl developers, see the PEactions property.

 

Within Visual Basic, you can call this function as follows...

Pego1.PEactions = 9 ' Calls PElaunchcolordialog

 

In Delphi, use...

PEGraph1.PEactions := gColorDialog; {Calls PElaunchcolordialog}