Article View: borland.public.cppbuilder.nativeapi
Article #4049Re: Length of text in MessageBox function
From: Richard Casten
Date: Thu, 23 Mar 2006 19:43
Date: Thu, 23 Mar 2006 19:43
9 lines
1393 bytes
1393 bytes
"Remy Lebeau (TeamB)" wrote: > The only way to gain any kind of access to the MessageBox's internals is to > install a hook via SetWindowsHookEx() for the calling thread before then > calling MessageBox(). When the hook notifies your code that new windows are > being created, you can check for the specific HWND of the text field, and > then use GetWindowDC() to get its HDC. How would I know what is the specific HWND of the text field?
Technical Details
Message-ID:
<4422FA56.83B7F39@aero.org>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4422D533.32E31292@aero.org> <4422ea15$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b8d4aea1a094904b X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <4422FA56.83B7F39@aero.org> Date: Thu, 23 Mar 2006 11:43:18 -0800 From: Richard Casten <richard.casten@aero.org> X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Length of text in MessageBox function References: <4422D533.32E31292@aero.org> <4422ea15$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 130.221.27.185 X-Trace: newsgroups.borland.com 1143142902 130.221.27.185 (23 Mar 2006 11:41:42 -0700) Lines: 11 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail