Using Win32 functions in Visual FoxPro Image Gallery
Common Dialog Box
..msdn
ChooseColor
ChooseFont
CommDlgExtendedError
FindText
GetFileTitle
GetOpenFileName
GetSaveFileName
PageSetupDlg
PrintDlg
PrintDlgEx
TaskDialog
TaskDialogIndirect
Code examples:
Using the ChooseColor function
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:
Using the ChooseColor function
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:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com 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: 19
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.166.232.243)
11 sec.Function: 'SHGetPathFromIDList'
23 sec.Function: 'FatalAppExit'
36 sec.Function: 'GetActiveWindow'
50 sec.Function: 'LoadUserProfile'
1.03 min.Function: 'SQLGetConfigMode'
1.23 min.Function: 'CreateFileTransacted'
1.43 min.Function: 'GetClipboardFormatName'
1.62 min.Function: 'GlobalUnlock'
1.83 min.Function: 'LockFile'
2.02 min.Function: 'waveInPrepareHeader'
Google
Advertise here!