false(initialise).
under what conditions this should not be used.
This is interesting and will be gr8 if you throw more light on this.
Joseph M. Newcomer wrote:
What do you mean by "not working"? What does it do?
In any case, you should not be using GetDlgItemText. Create a control variable for the
control (and learn to replace those silly names like IDC_EDIT1 with meaningful names), and
use GetWindowText, e.g.,
c_Name.GetWindowText(String1);
joe
On Fri, 30 Jun 2006 15:37:41 +0200, "1010" <mig1010@wp.pl> wrote:
hi,
hu now, how working "getdlgitemtext"?
but i make somthing and this not working please help me:
void CDialogPASS::OnBnClickedButtonDp2()
{
eg:
CString String1;
CDialogPASS::GetDlgItemTextW(IDC_EDIT1,String1); <<----- no working
or:
//TCHAR String1;
//dlgret1=GetDlgItemText(IDC_EDIT1,String1,sizeof(String1)); <<------ no
working
//dlgret2=GetDlgItemText(IDC_EDIT2,String2,sizeof(String2)); <<------- no
working
}
regards mike
Joseph M. Newcomer [MVP]
email: newcomer@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm