I have this function definition inside my cpp file;
LRESULT CRebarHandler::onSetRedraw(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
bHandled=false;
if (m_ieVer==6){
if (!m_hWndToolbar)
scanForToolbarSlow();
}
return S_OK;
}
My problem is I don't know how to call it from another function inside the same file. I want to call it from this function:
void CRebarHandler::setButtonMenu2(){
bool b=false;
onSetRedraw(0,0,0,false); <------ is this the correct way?
}
Must I provide all the 4 values? Can I just send no value?
Help me..