Home » Category » Microsoft Visual C & C++

Microsoft Visual C & C++: Autosaving Apps in WIN32 ?

202| Wed, 06 Feb 2008 09:23:00 GMT| sepehr666| Comments (0)
I'm programming an autosave application ,which closes all open windows automatically and saves all documents one by one,(first when warning message comes click yes,then push save in save as dialog).
I used EnumerateWindows -WIN32 API function to enumerate windows.
my application works fine when I click close "X" button manually (automatically click "YES" and fill Save AS dialog). but when I want to close them by sending WM_CLOSE message to windows one by one,suddenly enumeration stops! and no action is taken.
what should I do ?
please give a hint or where can I find some info about it.

thanks.

Keywords & Tags: autosaving, apps, win32, microsoft, visual c++, vc

URL: http://www.7prog.com/visual-c-c++/24646/
 
«« Prev - Next »» 0 helpful answers below.

Microsoft Visual C & C++ Hot Answers

Microsoft Visual C & C++ New questions

Microsoft Visual C & C++ Related Categories