Click here to Skip to main content
15,887,888 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to save the TreeView content Pin
Furty27-Feb-03 15:25
Furty27-Feb-03 15:25 
GeneralRe: How to save the TreeView content Pin
j-hannemann27-Feb-03 20:14
j-hannemann27-Feb-03 20:14 
GeneralImage on ListView control's column header Pin
newneo27-Feb-03 8:58
newneo27-Feb-03 8:58 
GeneralRe: Image on ListView control's column header Pin
Furty27-Feb-03 15:10
Furty27-Feb-03 15:10 
GeneralChange icon on custom control Pin
Anonymous27-Feb-03 7:23
Anonymous27-Feb-03 7:23 
GeneralRe: Change icon on custom control Pin
leppie27-Feb-03 8:55
leppie27-Feb-03 8:55 
GeneralRe: Change icon on custom control Pin
Anonymous27-Feb-03 9:44
Anonymous27-Feb-03 9:44 
GeneralRe: Change icon on custom control Pin
Furty27-Feb-03 15:07
Furty27-Feb-03 15:07 
OK, this example assumes the control class name is MyTreeView - change it as required:

1) Create a 16x16 bitmap for your control, and place it in the same folder as your control's code file. Set the bitmap name to MyTreeView.bmp, and set the build Action for the bitmap to Embedded Resource.

2) Add the follwing line above your class declaration:

[ToolboxBitmap(typeof(MyTreeView))]<br />
public class MyTreeView : System.Windows.Forms.TreeView<br />
{<br />
// code...<br />
}

GeneralTreeView OwnerDraw: WndProc(...) How to get item information like ItemRectangle, ItemText, Focused Pin
STW27-Feb-03 6:28
STW27-Feb-03 6:28 
GeneralRe: TreeView OwnerDraw: WndProc(...) How to get item information like ItemRectangle, ItemText, Focused Pin
leppie27-Feb-03 9:08
leppie27-Feb-03 9:08 
GeneralRe: TreeView OwnerDraw: WndProc(...) How to get item information like ItemRectangle, ItemText, Focused Pin
STW28-Feb-03 3:10
STW28-Feb-03 3:10 
GeneralInternet date and time Pin
Bjornar Henden27-Feb-03 5:35
Bjornar Henden27-Feb-03 5:35 
GeneralRe: Internet date and time Pin
David Stone27-Feb-03 7:45
sitebuilderDavid Stone27-Feb-03 7:45 
GeneralRe: Internet date and time Pin
Bjornar Henden27-Feb-03 8:26
Bjornar Henden27-Feb-03 8:26 
GeneralRe: Internet date and time Pin
Maq28-Feb-03 0:46
Maq28-Feb-03 0:46 
GeneralRe: Internet date and time Pin
Bjornar Henden2-Mar-03 7:57
Bjornar Henden2-Mar-03 7:57 
GeneralRe: Internet date and time Pin
Maq2-Mar-03 22:35
Maq2-Mar-03 22:35 
QuestionFlat combobox? Pin
se99ts27-Feb-03 4:05
se99ts27-Feb-03 4:05 
AnswerRe: Flat combobox? Pin
Furty27-Feb-03 14:46
Furty27-Feb-03 14:46 
GeneralAdd Web Reference Pin
morefalt27-Feb-03 3:51
morefalt27-Feb-03 3:51 
GeneralADO .net filter prohibited characters on a query Pin
Braulio Dez26-Feb-03 23:14
Braulio Dez26-Feb-03 23:14 
GeneralRe: ADO .net filter prohibited characters on a query Pin
Nick Parker27-Feb-03 4:43
protectorNick Parker27-Feb-03 4:43 
GeneralWebServices and older versions of VC and VB Pin
Braulio Dez26-Feb-03 23:07
Braulio Dez26-Feb-03 23:07 
GeneralRe: WebServices and older versions of VC and VB Pin
David Stone27-Feb-03 7:47
sitebuilderDavid Stone27-Feb-03 7:47 
GeneralRe: WebServices and older versions of VC and VB Pin
Dato27-Feb-03 14:47
Dato27-Feb-03 14:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.