Article View: borland.public.cppbuilder.nativeapi
Article #9993Re: How to hide caret in Edit Box?
From: JD
Date: Fri, 28 May 2004 11:20
Date: Fri, 28 May 2004 11:20
11 lines
1223 bytes
1223 bytes
Alan Bellingham <alanb@episys.com> wrote:
> When I want to do that, I override the WM_CTLCOLOR message handlers.
Interesting. The accepted response from fishface:
long style = GetWindowLong(Edit1->Handle, GWL_STYLE);
style = style | WS_DISABLED;
SetWindowLong(Edit1->Handle,GWL_STYLE, style);
~ JD
Technical Details
Message-ID:
<40b72077$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40acc205$1@newsgroups.borland.com> <40b66bae@newsgroups.borland.com> <40b6fe48$1@newsgroups.borland.com> <9e5eb0l5b04cnks38h1ksuglsl7jjshli3@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f48a98caca73cc37 X-Google-Attributes: gid10cc67,public From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Re: How to hide caret in Edit Box? Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 172.174.233.106 References: <40acc205$1@newsgroups.borland.com> <40b66bae@newsgroups.borland.com> <40b6fe48$1@newsgroups.borland.com> <9e5eb0l5b04cnks38h1ksuglsl7jjshli3@4ax.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <40b72077$1@newsgroups.borland.com> Date: 28 May 2004 04:20:23 -0700 X-Trace: newsgroups.borland.com 1085743223 207.105.83.66 (28 May 2004 04:20:23 -0700) Lines: 12 Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail