Using Win32 functions in Visual FoxPro Image Gallery
Dialog Box
..msdn
GetDlgCtrlID
GetDlgItem
MessageBox
MessageBoxIndirect
SetDlgItemInt
SetDlgItemText
Code examples:
SetDlgItemInt
..msdn    Add comment     W32 Constants      Translate this page
The SetDlgItemInt function sets the text of a control in a dialog box to the string representation of a specified integer value.
Code examples:
Declaration:
BOOL SetDlgItemInt(
    HWND hDlg,
    int nIDDlgItem,
    UINT uValue,
    BOOL bSigned
);
FoxPro declaration:
DECLARE INTEGER SetDlgItemInt IN user32;
    INTEGER hDlg,;
    INTEGER nIDDlgItem,;
    INTEGER uValue,;
    INTEGER bSigned

Parameters:
hDlg
[in] Handle to the dialog box that contains the control.

nIDDlgItem
[in] Specifies the control to be changed.

uValue
[in] Specifies the integer value used to generate the item text.

bSigned
[in] Specifies whether the uValue parameter is signed or unsigned.
Return value:
If the function succeeds, the return value is nonzero.
Word Index links for the SetDlgItemInt :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-10-17 09:43:07
Modified: 2003-10-17 09:44:51
Visited in last 7 days: 15
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 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.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.242.85.89)
3 sec.Function: 'SQLInstallerError'
Function group: 'ODBC API'
7 day(s)Example: 'GDI+: reading and writing metadata in JPEG and TIFF files'
 Example: 'WAV file player'
 Function: 'getsockopt'
 Function: 'MAPISendMail'
 Function: 'CryptGenKey'
Function group: 'Cryptography Reference'
 
Function group: 'Dialog Box'
 Example: 'How to create non-blocking Winsock server'
Language: 'C++'
Google
Advertise here!