Article View: borland.public.cppbuilder.nativeapi
Article #6362Re: "use" menu item in another app?
From: Bob Gonder
Date: Thu, 19 May 2005 17:49
Date: Thu, 19 May 2005 17:49
16 lines
1633 bytes
1633 bytes
Segal wrote: >Is there any way to either "enable" the button using WINAPI > > BtnHwnd = FindWindowEx(hwnd, NULL, "CRolloverButton", "&Send"); EnableWindow( BtnHwnd, TRUE ); > SendMessage(BtnHwnd, BM_CLICK, NULL, NULL); > >Is is possible that BM_CLICK is being ignored? Yes, if the app keeps track of it internally. You might need to send WM_KEYDOWN and WM_KEYUP events to the edit box so that it unlocks the Ok button.
Technical Details
Message-ID:
<f1kp81prdt8c1it3f9q7r20663d3dqs5ia@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4289b235@newsgroups.borland.com> <v54k81lu0gb49sp76ri3ecjhb37gfbcatq@4ax.com> <428a1917$3@newsgroups.borland.com> <o2ck8151hqea0h667513g8lh0h8149n6aq@4ax.com> <428c2e72@newsgroups.borland.com> <428c6ef5$1@newsgroups.borland.com> <428ccca8@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,de4107a245e3b3a8 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: "use" menu item in another app? Date: Thu, 19 May 2005 10:49:35 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <f1kp81prdt8c1it3f9q7r20663d3dqs5ia@4ax.com> References: <4289b235@newsgroups.borland.com> <v54k81lu0gb49sp76ri3ecjhb37gfbcatq@4ax.com> <428a1917$3@newsgroups.borland.com> <o2ck8151hqea0h667513g8lh0h8149n6aq@4ax.com> <428c2e72@newsgroups.borland.com> <428c6ef5$1@newsgroups.borland.com> <428ccca8@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.77.145.240 X-Trace: newsgroups.borland.com 1116524974 67.77.145.240 (19 May 2005 10:49:34 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail