When mapping the message KeyPress of a "MS Forms 2.0 textbox" activeX with the Class Wizard, the following code is generated :
ON_EVENT(CDialog_Fille, IDC_ESSAIMSBOX, -603 /* KeyPress */, OnKeyPressEssaimsbox, VTS_DISPATCH)
associated to the method
void CDialog_Fille::OnKeyPressEssaimsbox(LPDISPATCH KeyAscii)
{
// TODO: Add your control notification handler code here
}
I just want to read the Ascii char, but idon't know how to extract it from the LPDISPATCH structure.
Could somebody help me. Thanks.
ON_EVENT(CDialog_Fille, IDC_ESSAIMSBOX, -603 /* KeyPress */, OnKeyPressEssaimsbox, VTS_DISPATCH)
associated to the method
void CDialog_Fille::OnKeyPressEssaimsbox(LPDISPATCH KeyAscii)
{
// TODO: Add your control notification handler code here
}
I just want to read the Ascii char, but idon't know how to extract it from the LPDISPATCH structure.
Could somebody help me. Thanks.