예제 #1
0
 /// <summary>
 /// The ANSI version of ChooseColor function creates a Color dialog 
 /// box that enables the user to select a color
 /// </summary>
 /// <param name="lpcc">Pointer to a CHOOSECOLORA 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 ChooseColorA(ref ChooseColorA lpcc)
 {
     return Native.ChooseColorA(ref lpcc);
 }
예제 #2
0
 /// <summary>
 /// The ANSI version of ChooseColor function creates a Color dialog
 /// box that enables the user to select a color
 /// </summary>
 /// <param name="lpcc">Pointer to a CHOOSECOLORA 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 ChooseColorA(ref ChooseColorA lpcc)
 {
     return(Native.ChooseColorA(ref lpcc));
 }
예제 #3
0
 public static extern bool ChooseColorA(ref ChooseColorA lpcc);
예제 #4
0
 public static extern bool ChooseColorA(ref ChooseColorA lpcc);