 |
ChooseColor ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The ChooseColor function creates a Color dialog box that enables the user to select a color. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL ChooseColor(
LPCHOOSECOLOR lpcc // initialization data
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER ChooseColor IN comdlg32;
STRING @lpcc
|
 |
 |
 |
| Parameters: |
 |
lpcc
[in/out] Pointer to a CHOOSECOLOR structure that contains information used to initialize the dialog box. |
 |
 |
| Return value: |
 |
| If the user clicks the OK button of the dialog box, the return value is nonzero. If the user cancels or closes the Color dialog box or an error occurs, the return value is zero. |
 |
 |
| My comment: |
 |
| Not many advantages this function gives to dump the good old GetColor, which is still dragged solicitously from version to version unchanged. |
 |
 |
| Word Index links for the ChooseColor : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-01-25 20:09:21 | | Modified: | 2002-01-25 20:11:09 | Visited in last 7 days: 18 |