How can I hide the caret of a combobox

galileo

New member
Joined
Jan 21, 2005
Messages
4
Programming Experience
Beginner
I know I can hide the caret of a textbox by using the HideCaret API. But when I want to use HideCaret for combobox. It won't work. It does not come out any error message. But the caret is still displayed.
 

Paszt

Staff member
Joined
Jun 3, 2004
Messages
1,500
Location
Raleigh, NC - USA
Programming Experience
Beginner
I've read somthing about this in the past; can't find the link right now though.
The combobox uses an embeded textbox to allow editing. I assume you use a handle to the textbox in the HideCaret API and that you tried to do the same for the combobox. You most likely used the handle to the combobox when you need to use the handle to the textbox contained in the combobox.
Hope this helps and sorry I couldn't be of more assistance. I will try to find the article however.
 
Top Bottom