Make sure you set the parent window handle correctly in the CHOOSECOLOR

Tim Robinson (MVP, Windows SDK)

"SK" wrote in message m...
> Hi...
> I need to position window's standrad color selection dialog box which
> I am opening through API call ChooseColorA. I couldn't find any
> property in Choosecolor structure through which you can control X,Y
> co-ordibates of window. It always open at upper left corner of the
> screen. I am using PowerBuilder 6.5 on Win 2000.
> Please can anybody direct me how can I do this?
> Thanks in advance.
> -Sunil