
I've seen messages of people trying to disable the Cancel button on the status dialogs(STATUSDLG, STATUSEX, etc.), so I know how to do that.
But my problem is I WANT the Cancel button and I want it to work. Right now when I click on the Cancel button, it changes the cursor to an hourglass and does nothing.
How do you catch the Cancel button?
I put the following code in OnFirstUIBefore to illustrate:
Enable(STATUSDLG);
nCount = 0;
while ( nCount < 100 )
SetStatusWindow( nCount, "Testing" );
Delay(1);
nCount = nCount + 1;
endwhile;
Disable(STATUSDLG);
exit;
Thanks for any help!!
-Mike