Article View: borland.public.cppbuilder.nativeapi
Article #7280wm_close and word with document changes
From: Angus
Date: Sat, 26 Feb 2005 03:49
Date: Sat, 26 Feb 2005 03:49
18 lines
1651 bytes
1651 bytes
Hi, Why is it that SendMessage wm_close with word does not give a save as dialog when the document being closed has changed? I'm enumerating the top-level windows as i already have the process id to winword - closing everthing as i go. I then use waitforsingleobect to check that the process has terminated. All textbook stuff as in the ms example http://support.microsoft.com/default.aspx?scid=kb;EN-US;q178893 Everything i've tried to date is good EXCEPT word! Also have verified its not my version of word as the same result is given on xp. (i use SendMessage so i wait on the message queue rather than Postmessage and wait on the process handle - although i have tried postmessage i still get the same result). Any ideas - rgds angus.
Technical Details
Message-ID:
<421ff1a7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7b296d08feb8fca0,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Angus" <anguspickton@yahoo.com> From: "Angus" <aguspickton@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: wm_close and word with document changes Date: Sat, 26 Feb 2005 16:49:46 +1300 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 219.88.167.220 Message-ID: <421ff1a7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109389735 219.88.167.220 (25 Feb 2005 19:48:55 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail