ondrawitem Questions

2

Solved

I am making a custom ComboBox, inherited from Winforms' standard ComboBox. For my custom ComboBox, I set DrawMode to OwnerDrawFixed and DropDownStyle to DropDownList. Then I write my own OnDrawItem...

2

I would like to override the text displayed when an item is added to a checked list box. Right now it is using obj.ToString(), but I want to append some text, without changing the objects ToString ...
Volumetric asked 10/9, 2013 at 17:15

2

Solved

This is a C# desktop application. The DrawStyle property of my ListBox is set to OwnerDrawFixed. The problem: I override DrawItem to draw text in different fonts, and it works. But when I start re...
Aam asked 18/7, 2010 at 8:45
1

© 2022 - 2024 — McMap. All rights reserved.