Article View: borland.public.cppbuilder.nativeapi
Article #13689Re: Send a mail with attachment
From: Ed Mulroy [TeamB]
Date: Mon, 29 Sep 2003 01:56
Date: Mon, 29 Sep 2003 01:56
16 lines
1926 bytes
1926 bytes
I understand how that works but it does not cover what the guy does with the key after the call. No matter what you do (possibly short of rigging your app as real time priority), the shift key state can change between reading it and making the following call, a call which depends upon the key state. . Ed > Remy Lebeau wrote in message > news:3f776dc3$4@newsgroups.borland.com... > > > Ed Mulroy wrote > > Something that bothers me about that code is what is it going > > to do if the user has his finger on the shift key. > > Try using the GetKeyState() function to determine whether Shift > is already held down, and then you can adjust the shift accordingly.
Technical Details
Message-ID:
<3f77914f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f70794d@newsgroups.borland.com> <3f7545de@newsgroups.borland.com> <3f755135@newsgroups.borland.com> <3f77017d@newsgroups.borland.com> <3f775aeb@newsgroups.borland.com> <3f776dc3$4@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,23d9e1242f297072 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-28 19:09:11 PST From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuck.et> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f70794d@newsgroups.borland.com> <3f7545de@newsgroups.borland.com> <3f755135@newsgroups.borland.com> <3f77017d@newsgroups.borland.com> <3f775aeb@newsgroups.borland.com> <3f776dc3$4@newsgroups.borland.com> Subject: Re: Send a mail with attachment Date: Sun, 28 Sep 2003 21:56:21 -0400 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 206.228.162.46 Message-ID: <3f77914f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1064800591 206.228.162.46 (28 Sep 2003 18:56:31 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail