This website has been designed for use with the FireFox browser. Please use FireFox to view this page.
GetDlgItem Reference in C#, VB.NET and VB6
Library:user32.dll
Visual Basic .NET definition
Declare Function GetDlgItem Lib "user32" (ByVal hDlg As Integer, ByVal nIDDlgItem As Integer) As Integer
C# definition
[DllImport("user32")]
public static extern int GetDlgItem(int hDlg, int nIDDlgItem)
Description
GetDlgItem
Retrieves a handle to a control in the specified dialog box.
System.Windows.Forms.Form.Controls.Item
Further Information:
For further information on Windows API functions such as these, and how to use these API's in your
C# and VB.NET applications, please refer to the book 'Network programming in .NET' (Buy at Amazon UK) (Buy at Amazon US)