/// <summary> /// The UNICODE version of ChooseColor function creates a Color dialog /// box that enables the user to select a color /// </summary> /// <param name="lpcc">Pointer to a CHOOSECOLORW structure that contains information /// used to initialize the dialog box. When ChooseColor returns, this structure contains /// information about the user's color selection</param> /// <returns>If the user clicks the OK button of the dialog box, the return value is true. /// The members of the CHOOSEFONT structure indicate the user's selections. If the user /// cancels or closes the Font dialog box or an error occurs, the return value is false. /// To get extended error information, call the CommDlgExtendedError function /// </returns> public static bool ChooseColorW(ref ChooseColorW lpcc) { return(Native.ChooseColorW(ref lpcc)); }
public static extern bool ChooseColorW(ref ChooseColorW lpcc);