|
In a button event, I want to call a custom function to trigger the event
Is this right thank you
void CListDlg :: OnBtnShow () // Button event
{
// TODO: Add your control notification handler code here
UpdateData (TRUE);
CListDlg Show;
Show.fun1 (); // fun1 is a custom function, responsible for displaying variables in the edit box
UpdateData (FALSE);
} |
|