ShowHueDlg example for C++ Builder
void __fastcall TForm1::ShowHueDlg1Click(TObject *Sender)
{
L_INT nRet;
LEADDlgColor1->DlgFlags = DLG_HUE_SHOW_PREVIEW |
DLG_HUE_SHOW_TOOL_ZOOMLEVEL;
LEADDlgColor1->LEADImage = LEADImage1;
LEADDlgColor1->LEADDlgService = LEADDlgService1;
nRet= LEADDlgColor1->ShowHueDlg ( this );
if ( nRet == SUCCESS_DLG_OK )
{
LEADImage1->Hue ( LEADDlgColor1->Angle);
}
}