BOOL CUGCheckBoxType::OnCharDown(int col, long row, UINT *vcKey){
if(*vcKey == VK_SPACE){
int col = m_ctrl->GetCurrentCol();
long row= m_ctrl->GetCurrentRow();
m_ctrl->GetCell(col,row,&m_cell);
// Do stuff with m_cell here
return TRUE;
}
return FALSE;
}
People who pass in paramaters and then ignore them should be taken out back and shot.
It took me 4 hours to dig deep enough into the code to find this gem. I was not amused.
Current Mood: annoyed