Log in

No account? Create an account
entries friends calendar profile my webpage Previous Previous Next Next
Geek alert.... - Tina Marie's Ramblings
Red hair and black leather, my favorite colour scheme...
Geek alert....
I ran across this function today:
BOOL CUGCheckBoxType::OnCharDown(int col, long row, UINT *vcKey){

if(*vcKey == VK_SPACE){
int col = m_ctrl->GetCurrentCol();
long row= m_ctrl->GetCurrentRow();


// 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 annoyed

Leave a comment