Using Win32 functions in Visual FoxPro Image Gallery
Common Dialog Box
Code examples:
Using the ChooseColor function
..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:
Using the ChooseColor function
BOOL ChooseColor(
  LPCHOOSECOLOR lpcc   // initialization data
FoxPro declaration:
DECLARE INTEGER ChooseColor IN comdlg32;
    STRING @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:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2002-01-25 20:09:21
Modified: 2002-01-25 20:11:09
Visited in last 7 days: 62
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
5 sec.Example: 'Retrieving the name of the network resource associated with a local device'
15 sec.Function: 'EndTask'
18 sec.Example: 'Attaching menu to a top-level form'
28 sec.Function: 'AlphaBlend'
35 sec.Example: 'Terminating all running applications from a VFP program'
43 sec.Function: 'PathGetShortPath'
49 sec.Function: 'RegEnumValue'
56 sec.
Function group: 'Filled Shape'
1.05 min.Function: 'DllInstall'
1.15 min.Example: 'How to access a file using not its name but an alias (hard link)'
Advertise here!