By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,761 Members | 1,183 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,761 IT Pros & Developers. It's quick & easy.

Ownerdrawn Combbox

P: n/a
hi
I am creating an ownerdrawn combo box. I will need to display
icons/images in the edit portion of the combobox. I retreived the
handles of Edit and List portions with ComboBoxInfo structure. Then I
created a class inherited from NativeWindow. This class is assigned the
handle of EditBox of combo so that I can handle the WM_PAINT event only
for the Edit portion. So far everything good. But the problem I am
facing is that The EditBox gets continuously painted and there is lots
of flickering in that area. Can anybody help me to understad the what
went wrong?

thanks
sindhu

Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Here are a couple owner-drawn ComboBox implementations.
http://www.codeproject.com/cs/combob...eCombo_NET.asp
http://www.codeproject.com/cs/combob...wncombobox.asp

--
Tim Wilson
..Net Compact Framework MVP

<mn********@yahoo.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
hi
I am creating an ownerdrawn combo box. I will need to display
icons/images in the edit portion of the combobox. I retreived the
handles of Edit and List portions with ComboBoxInfo structure. Then I
created a class inherited from NativeWindow. This class is assigned the
handle of EditBox of combo so that I can handle the WM_PAINT event only
for the Edit portion. So far everything good. But the problem I am
facing is that The EditBox gets continuously painted and there is lots
of flickering in that area. Can anybody help me to understad the what
went wrong?

thanks
sindhu

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.