Click here to Skip to main content
15,905,508 members
Home / Discussions / C#
   

C#

 
GeneralRe: Button events gets deleted! Pin
JProd1-Mar-03 18:42
JProd1-Mar-03 18:42 
GeneralAgain : How to save the TreeView Pin
j-hannemann28-Feb-03 22:35
j-hannemann28-Feb-03 22:35 
GeneralRe: Again : How to save the TreeView Pin
leppie28-Feb-03 23:20
leppie28-Feb-03 23:20 
GeneralRe: Again : How to save the TreeView Pin
j-hannemann2-Mar-03 10:29
j-hannemann2-Mar-03 10:29 
GeneralUnmanaged Callback Pin
leppie28-Feb-03 11:43
leppie28-Feb-03 11:43 
GeneralRe: Unmanaged Callback Pin
Stephane Rodriguez.28-Feb-03 20:05
Stephane Rodriguez.28-Feb-03 20:05 
GeneralRe: Unmanaged Callback Pin
leppie28-Feb-03 22:11
leppie28-Feb-03 22:11 
GeneralRe: Unmanaged Callback Pin
Stephane Rodriguez.28-Feb-03 22:29
Stephane Rodriguez.28-Feb-03 22:29 
GeneralRe: Unmanaged Callback Pin
leppie28-Feb-03 22:48
leppie28-Feb-03 22:48 
GeneralRe: Unmanaged Callback Pin
leppie1-Mar-03 6:44
leppie1-Mar-03 6:44 
GeneralRe: Unmanaged Callback Pin
Stephane Rodriguez.1-Mar-03 10:46
Stephane Rodriguez.1-Mar-03 10:46 
GeneralRe: Unmanaged Callback Pin
leppie1-Mar-03 11:26
leppie1-Mar-03 11:26 
GeneralRegular Expression question Pin
chronobyte28-Feb-03 10:38
chronobyte28-Feb-03 10:38 
GeneralRe: Regular Expression question Pin
Daniel Turini28-Feb-03 11:11
Daniel Turini28-Feb-03 11:11 
GeneralRe: Regular Expression question Pin
chronobyte1-Mar-03 7:14
chronobyte1-Mar-03 7:14 
GeneralRe: Regular Expression question Pin
Domenic Denicola1-Mar-03 11:17
Domenic Denicola1-Mar-03 11:17 
GeneralRe: Regular Expression question Pin
Daniel Turini2-Mar-03 2:47
Daniel Turini2-Mar-03 2:47 
GeneralSaving Treeview/Listview selections Pin
vlusardi28-Feb-03 10:06
vlusardi28-Feb-03 10:06 
GeneralRe: Saving Treeview/Listview selections Pin
Stephane Rodriguez.28-Feb-03 20:22
Stephane Rodriguez.28-Feb-03 20:22 
GeneralAdding MDAC and .net framework redistribution to an application. Pin
Anonymous28-Feb-03 9:58
Anonymous28-Feb-03 9:58 
GeneralRe: Adding MDAC and .net framework redistribution to an application. Pin
Stephane Rodriguez.28-Feb-03 20:15
Stephane Rodriguez.28-Feb-03 20:15 
GeneralOwnerDraw TreeView: OnPaint(...) Pin
STW28-Feb-03 4:49
STW28-Feb-03 4:49 
Owner-Draw TreeView with SetStyle(ControlStyles.AllPaintingInWmPaint|ControlStyles.DoubleBuffer|ControlStyles.UserPaint,true);

Problem with the overriden OnPaint methode:

I added two nodes. When the control appears the first time, the OnPaint() methode panits only the first node!? When I move the mouse over the invisible second node then OnPaint draw the second node(but goes through OnPaint twice!?). So the nodes ar only painted when I move the mouse over the nodes. Refresh() or Invalidate() changes nothing.
What could that be? Any suggestions that the TreeView paints its nodes the first time?


GeneralRe: OwnerDraw TreeView: OnPaint(...) Pin
Carlos H. Perez28-Feb-03 8:59
Carlos H. Perez28-Feb-03 8:59 
GeneralRe: OwnerDraw TreeView: OnPaint(...) Pin
STW28-Feb-03 23:55
STW28-Feb-03 23:55 
GeneralRe: OwnerDraw TreeView: OnPaint(...) Pin
Anonymous5-Mar-03 8:39
Anonymous5-Mar-03 8:39 

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.