Article View: borland.public.cppbuilder.nativeapi
Article #2521Re: Modifying the TOpenDialog or TSaveDialog
From: Remy Lebeau (TeamB)
Date: Fri, 09 Feb 2007 18:56
Date: Fri, 09 Feb 2007 18:56
20 lines
1635 bytes
1635 bytes
"Dan Mayo" <do_not_spam_dmayo2@netzero.com> wrote in message news:45cca151$1@newsgroups.borland.com... > I would think creating a descendant class from one of those > would be easy, and then adding a TButton to popup a keyboard Yes, that is doable. In the OnShow event, you have access to the HWND of the dialog. You can use the Win32 API to add/modify anything in that HWND as desired. You can even create VCL controls. Simply set their ParentWindow property to the HWND of the dialog. > or capturing the double-click message Again, using the OnShow event, you can use Get/SetWindowLong() to subclass the HWND of the edit box so that you can intercept the WM_LBUTTONDBLCLK message directly. Gambit
Technical Details
Message-ID:
<45ccc421$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45c9f090$1@newsgroups.borland.com> <45caed68@newsgroups.borland.com> <45cca151$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,991e7cc92168a8f1 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <45c9f090$1@newsgroups.borland.com> <45caed68@newsgroups.borland.com> <45cca151$1@newsgroups.borland.com> Subject: Re: Modifying the TOpenDialog or TSaveDialog Date: Fri, 9 Feb 2007 10:56:58 -0800 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 75.83.34.171 Message-ID: <45ccc421$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1171047457 75.83.34.171 (9 Feb 2007 10:57:37 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail