🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2428

Re: Getting text from an external Grid

#2428
From: Dan
Date: Fri, 02 Mar 2007 19:19
17 lines
2220 bytes
 >>>>>  The easiest one is to simply send WM_COMMAND

Thanks!

When I send this message, I can get a FileSave Dialog to appear, but the 
dialog appears to be modal, in so much that after I send the above 
message, control doesn't resume to the next line in my code until the 
dialog is closed.

Can I get around that by placing the SendMessage in another thread?
Is there a way to get around this?

I tried creating another thread that would monitor to see if the 
FileSave Dialog appeared, and if so, then take some action... but that 
thread too doesn't seem to get any action until the dialog is closed.

Does that sound right?  Or am I yet again doing something wrong?
Technical Details
Message-ID: <45e87917$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45e59a3a$1@newsgroups.borland.com> <45e5bb7e$1@newsgroups.borland.com> <45e5cfa5$1@newsgroups.borland.com> <45e5f6d3@newsgroups.borland.com> <45e5fd07$1@newsgroups.borland.com> <45e60f88$1@newsgroups.borland.com> <45e6f2f0$1@newsgroups.borland.com> <lnvdu29ua6a88fpbfof4eu9pb4d7t42pm4@4ax.com> <45e72444$1@newsgroups.borland.com> <45e733b3$1@newsgroups.borland.com> <45e73ae4@newsgroups.borland.com> <45e7425f$1@newsgroups.borland.com> <45e75113$1@newsgroups.borland.com> <45e75811$1@newsgroups.borland.com> <45e83813$1@newsgroups.borland.com> <45e864bf$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3d58209a1f02789a
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 02 Mar 2007 13:19:51 -0600
From: Dan <Dan@do.not.spam>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Getting text from an external Grid
References: <45e59a3a$1@newsgroups.borland.com> <45e5bb7e$1@newsgroups.borland.com> <45e5cfa5$1@newsgroups.borland.com> <45e5f6d3@newsgroups.borland.com> <45e5fd07$1@newsgroups.borland.com> <45e60f88$1@newsgroups.borland.com> <45e6f2f0$1@newsgroups.borland.com> <lnvdu29ua6a88fpbfof4eu9pb4d7t42pm4@4ax.com> <45e72444$1@newsgroups.borland.com> <45e733b3$1@newsgroups.borland.com> <45e73ae4@newsgroups.borland.com> <45e7425f$1@newsgroups.borland.com> <45e75113$1@newsgroups.borland.com> <45e75811$1@newsgroups.borland.com> <45e83813$1@newsgroups.borland.com> <45e864bf$1@newsgroups.borland.com>
In-Reply-To: <45e864bf$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 216.174.165.174
Message-ID: <45e87917$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1172863255 216.174.165.174 (2 Mar 2007 11:20:55 -0800)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail