Re: can't hide the caret!
From: Gary Chanson (gchanson_at_No.Spam.TheWorld.net)
Date: 10/28/04
- Previous message: Jeff Partch: "Re: Reflect WM_NOTIFY"
- In reply to: Steve Alpert: "can't hide the caret!"
- Next in thread: Christian ASTOR: "Re: can't hide the caret!"
- Reply: Christian ASTOR: "Re: can't hide the caret!"
- Reply: Stewart Gordon: "Re: can't hide the caret!"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 28 Oct 2004 15:32:32 -0400
"Steve Alpert" <sra@newsgroups.nospam> wrote in message
news:OTkaTHRvEHA.1264@TK2MSFTNGP12.phx.gbl...
> I have an EDIT window with ES_READONLY attribute. For Accessibility, I
> need to let a user have focus in this window. I don't want to show the
> caret. I call HideCaret but get an error (5: access denied). Any idea
> why? I checked newsgroups but no clues..
In the remarks section of the MSDN article on HideCaret, it says:
HideCaret hides the caret only if the specified window owns the caret. If
the specified window does not own the caret, HideCaret does nothing and
returns FALSE.
I don't think edit controls use the standard caret because they use a
verticle line instead of the default underline.
-- -GJC [MS Windows SDK MVP] -Software Consultant (Embedded systems and Real Time Controls) - http://www.mvps.org/ArcaneIncantations/consulting.htm -gchanson@mvps.org
- Previous message: Jeff Partch: "Re: Reflect WM_NOTIFY"
- In reply to: Steve Alpert: "can't hide the caret!"
- Next in thread: Christian ASTOR: "Re: can't hide the caret!"
- Reply: Christian ASTOR: "Re: can't hide the caret!"
- Reply: Stewart Gordon: "Re: can't hide the caret!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|