Article ID: 133276
Article Last Modified on 10/17/2003
void CAboutDlg::OnDeltaposSpin1(NMHDR* pNMHDR, LRESULT* pResult)
{
NM_UPDOWN;
// TODO: Add your control notification handler code here
*pResult = 0;
}
Modify the code to look like this:
void CAboutDlg::OnDeltaposSpin1(NMHDR* pNMHDR, LRESULT* pResult)
{
NM_UPDOWN* pUpDown = (NM_UPDOWN*)pNMHDR;
// TODO: Add your control notification handler code here
*pResult = 0;
}
By typecasting the pointer to the NMHDR structure, you can access
additional data that is passed after the NMHDR.
Additional query words: 2.10 3.10 ClassWizard
Keywords: kbbug kbfix kbuidesign kbwizard KB133276