| | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 10:42:08 PM Posts: 595, Visits: 11,248 |
| I have an issue where the dropdown part of a combobox always draws behind the ThemedGroupBox control when the droppeddown property is set to true on the combo in code. I cannot for the life of me get it to draw properly, any ideas?
|
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 11:13:06 AM Posts: 4,104, Visits: 4,176 |
| | Keith, It sounds like there is something in the environment that is forcing the DC (device context) to render on another Window handle. This can happen, but default behavior should not cause this. The only time I generally see stuff like this is when there is something fired within an event, thread, etc. that forces the handle back to some other context. I created a quick sample and used the multi-column approach as this performs custom rendering and should be more apt to reproduce the problem. Try the sample attached to see if you have the same problem as I could not reproduce your problem here. If you are setting the DroppedDown property through an event, you might consider (just for testing) to set a timer then set the DroppedDown property through the timer to see if the probem goes away. If so, then you know the culprit and can go from there.
|
| |
|
|