@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The GetDlgItemText API !!!!C# Signature: [DllImport("user32.dll", SetLastError = true)] static extern uint GetDlgItemText(IntPtr hDlg, int nIDDlgItem, [Out] StringBuilder lpString, int nMaxCount); !!!!VB Signature: <DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _ Private Function GetDlgItemText( ByVal hDlg As IntPtr, _ ByVal nIDDlgItem As Integer, _ ByVal lpString As StringBuilder, _ ByVal nMaxCount As Integer) As Long End Function OR, using Declare statement - with "GetDlgItemTextA" for ANSI return value or "GetDlgItemTextW" for Unicode return value: Private Declare Function GetDlgItemText Lib "user32" Alias "GetDlgItemTextA" ( ByVal hDlg As IntPtr, _ ByVal nIDDlgItem As Integer, _ ByVal lpString As StringBuilder, _ ByVal nMaxCount As Integer) As Long !!!!User-Defined Types: None. !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: GetDlgItemText@msdn on MSDN
Edit user32.getdlgitem...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.