Using Win32 functions in Visual FoxPro Image Gallery
Dialog Box
..msdn
GetDlgCtrlID
GetDlgItem
MessageBox
MessageBoxIndirect
SetDlgItemInt
SetDlgItemText
Code examples:
GetDlgItem
..msdn    Add comment     W32 Constants      Translate this page
Retrieves a handle to a control in the specified dialog box.
Code examples:
Declaration:
HWND GetDlgItem(
    HWND hDlg,
    int nIDDlgItem
);
FoxPro declaration:
DECLARE INTEGER GetDlgItem IN user32;
    INTEGER hDlg,;
    INTEGER nIDDlgItem
Parameters:
hDlg
[in] Handle to the dialog box that contains the control.

nIDDlgItem
[in] Specifies the identifier of the control to be retrieved.
Return value:
If the function succeeds, the return value is the window handle of the specified control.
Usage:
#DEFINE DLG_CTRLID_ICON 0x0014
hIconWindow = GetDlgItem(hDlgHWnd, DLG_CTRLID_ICON)
My comment:
See also: SetDlgItemText, GetDlgCtrlID
Word Index links for the GetDlgItem :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2009-10-13 10:52:28
Modified: 2009-10-13 10:57:11
Visited in last 7 days: 19
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.
Google
Advertise here!