Click here to Skip to main content
15,909,498 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About Socket Pin
Moak19-Nov-07 2:48
Moak19-Nov-07 2:48 
QuestionError in getting Handle of editBox? Pin
Atul2317-Nov-07 0:46
Atul2317-Nov-07 0:46 
AnswerRe: Error in getting Handle of editBox? Pin
Hamid_RT17-Nov-07 1:53
Hamid_RT17-Nov-07 1:53 
GeneralRe: Error in getting Handle of editBox? Pin
Atul2317-Nov-07 20:45
Atul2317-Nov-07 20:45 
GeneralRe: Error in getting Handle of editBox? Pin
Hamid_RT18-Nov-07 7:04
Hamid_RT18-Nov-07 7:04 
GeneralRe: Error in getting Handle of editBox? Pin
Atul2318-Nov-07 19:40
Atul2318-Nov-07 19:40 
GeneralRe: Error in getting Handle of editBox? Pin
Hamid_RT18-Nov-07 21:01
Hamid_RT18-Nov-07 21:01 
AnswerRe: Error in getting Handle of editBox? Pin
bob1697217-Nov-07 2:07
bob1697217-Nov-07 2:07 
/* I'm not sure what your having trouble with. However, I am confused what your using the handle for? Do you realize that your trying to use a pointer before you've even checked that it is valid?
*/

void CTest712Dlg::ShowEditText()
{
if (::IsWindow(m_hWnd)) {

CEdit* pOpenEdit=(CEdit*)GetDlgItem(IDC_FOLDER_PATH);
if (pOpenEdit) {

CString sText("");
pOpenEdit->GetWindowText(sText);
TRACE("%s\n",sText);
}
}
}

void CTest712Dlg::OnButton1()
{
// TODO: Add your control notification handler code here
ShowEditText();
}
AnswerRe: Error in getting Handle of editBox? Pin
David Crow17-Nov-07 3:28
David Crow17-Nov-07 3:28 
Questionhow to chage text color of Button? Pin
padamraj17-Nov-07 0:42
padamraj17-Nov-07 0:42 
AnswerRe: how to chage text color of Button? Pin
Paresh Chitte18-Nov-07 18:25
Paresh Chitte18-Nov-07 18:25 
QuestionHow to get system info data Pin
Max++16-Nov-07 22:53
Max++16-Nov-07 22:53 
AnswerRe: How to get system info data Pin
Hamid_RT16-Nov-07 23:33
Hamid_RT16-Nov-07 23:33 
QuestionHow to create Directory on Remote Server. Pin
Atul2316-Nov-07 22:42
Atul2316-Nov-07 22:42 
QuestionRe: How to create Directory on Remote Server. Pin
Mark Salsbery17-Nov-07 5:52
Mark Salsbery17-Nov-07 5:52 
Questionhow to check a variable is initialized or not ? Pin
nitin316-Nov-07 22:31
nitin316-Nov-07 22:31 
AnswerRe: how to check a variable is initialized or not ? Pin
bob1697217-Nov-07 4:22
bob1697217-Nov-07 4:22 
Questionneed help wit string comparison Pin
neodeaths16-Nov-07 21:57
neodeaths16-Nov-07 21:57 
AnswerRe: need help wit string comparison Pin
nitin316-Nov-07 22:43
nitin316-Nov-07 22:43 
AnswerRe: need help wit string comparison Pin
JudyL_MD17-Nov-07 8:00
JudyL_MD17-Nov-07 8:00 
QuestionMFC42D.dll missing error Pin
neha.agarwal2716-Nov-07 18:39
neha.agarwal2716-Nov-07 18:39 
AnswerRe: MFC42D.dll missing error Pin
followait16-Nov-07 19:48
followait16-Nov-07 19:48 
AnswerRe: MFC42D.dll missing error Pin
Hamid_RT16-Nov-07 21:06
Hamid_RT16-Nov-07 21:06 
AnswerRe: MFC42D.dll missing error Pin
ThatsAlok17-Nov-07 0:10
ThatsAlok17-Nov-07 0:10 
AnswerRe: MFC42D.dll missing error Pin
Paresh Chitte18-Nov-07 18:32
Paresh Chitte18-Nov-07 18:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.