I
i_doit
Unregistered / Unconfirmed
GUEST, unregistred user!
VC技术内幕(第四版)的第七章的第二个例子中的一段程序:
void CSpecialFileDialog::OnDelete()
{
m_bDeleteAll = TRUE;
// 0x480 is the child window ID of the File Name edit control
// (as determined by SPYXX)
GetParent()->GetDlgItem(0x480)->GetWindowText(m_strFilename);
GetParent()->SendMessage(WM_COMMAND, IDCANCEL);
}
注释中好像说0x480可以通过spyxx得到,但是具体的方法是什么呢?请教各位高人!
void CSpecialFileDialog::OnDelete()
{
m_bDeleteAll = TRUE;
// 0x480 is the child window ID of the File Name edit control
// (as determined by SPYXX)
GetParent()->GetDlgItem(0x480)->GetWindowText(m_strFilename);
GetParent()->SendMessage(WM_COMMAND, IDCANCEL);
}
注释中好像说0x480可以通过spyxx得到,但是具体的方法是什么呢?请教各位高人!