I think you need to go back to the start and re-read the manual as no where does it say the Hide() function returns anything to do with the cancel function.
What you want to look at is
The reason your having problems is your not reading them, most functions follow the logic there named after there for Hide is NOT the right function, please go back and read the manual not guess them manual.
The manual and function dialog for StatusDlg.Hide() is clear it returns nothing not a dicky bird.
What you want to look at is
PHP Code:
canned = StatusDlg.IsCancelled();
The manual and function dialog for StatusDlg.Hide() is clear it returns nothing not a dicky bird.
Comment