Code Comments
Programming Forum and web based access to our favorite programming groups.I am using the "MainWindow" function to create a window as a status bar. However, i don't want the user to be able to click the X at the top left corner of the status bar window to close it before the program is finished and closes the window automatically. can someone tell me how that could be done? thanks. Jie
Post Follow-up to this messageIn article <3999fb41.0411120819.709f281@posting.google.com>, jiehuang001@hot
mail.com
says...
> I am using the "MainWindow" function to create a window as a status
> bar. However, i don't want the user to be able to click the X at the
> top left corner of the status bar window to close it before the
> program is finished and closes the window automatically.
>
> can someone tell me how that could be done?
$ww->protocol(WM_DELETE_WINDOW => sub{});
--
Go to http://MarcDashevsky.com to send me e-mail.
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.