Click here to Skip to main content
15,847,427 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
hi to all..
how to achieve overlay icon in c#( like dropbox icon overlay)..
if any body knows pls let me know..
Posted
Comments
Sergey Alexandrovich Kryukov 1-Aug-11 2:19am    
Not a question; not clear.
--SA
Manfred Rudolf Bihy 1-Aug-11 2:26am    
What are you trying to do? Give us a detailed explanation.
komalilella 1-Aug-11 2:32am    
do u know dropbox..in that when ever we copy any file in that at that time that file displayed like file with arrow symbol and after synchronizing tick file with tick mark dsplayed.

1 solution

If you're asking what I think you are (the question is unclear), you need to draw the combo box items yourself. Set the drawing mode to OwnerDrawFixed and handle the DrawItem event to paint each item. The item bounds, colours and font are given to you in the DrawItemEventArgs[^] so it is quite easy. You can paint any status indicator you wish along with the text.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900