Click here to Skip to main content
15,891,689 members
Home / Discussions / C#
   

C#

 
GeneralRemoting error Pin
Kant5-Mar-04 8:15
Kant5-Mar-04 8:15 
GeneralRe: Remoting error Pin
Heath Stewart5-Mar-04 8:28
protectorHeath Stewart5-Mar-04 8:28 
GeneralRe: Remoting error Pin
Kant5-Mar-04 9:12
Kant5-Mar-04 9:12 
GeneralRe: Remoting error Pin
Heath Stewart5-Mar-04 9:27
protectorHeath Stewart5-Mar-04 9:27 
GeneralRe: Remoting error Pin
Kant5-Mar-04 9:51
Kant5-Mar-04 9:51 
GeneralRe: Remoting error Pin
Judah Gabriel Himango5-Mar-04 8:32
sponsorJudah Gabriel Himango5-Mar-04 8:32 
GeneralDrawing column headers Pin
Amberite005-Mar-04 8:10
Amberite005-Mar-04 8:10 
GeneralRe: Drawing column headers Pin
Heath Stewart5-Mar-04 8:27
protectorHeath Stewart5-Mar-04 8:27 
You're assuming you need to repaint everything each time something is invalidated. If you look at the PaintEventArgs, you'll notice that it gives the invalidated region that needs repainting. Back when memory and CPU clock speeds were expensive, this invalidate region was paid more attention. Use it to your advantage.

Sure, you could dock a control and paint that separately, but you just increase the memory requirements and degrade performance by unnecessary processing required for a whole separate control.

Even the List-View common control (which the .NET ListView control encapsulates) paints things separately, from columns to items to sub-items, depending on what has been invalidated. This also is what gives developers control to override certain aspects of painting for specific "items".

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Drawing column headers Pin
Amberite005-Mar-04 9:02
Amberite005-Mar-04 9:02 
GeneralRe: Drawing column headers Pin
Heath Stewart5-Mar-04 9:09
protectorHeath Stewart5-Mar-04 9:09 
GeneralRe: Drawing column headers Pin
Amberite005-Mar-04 9:13
Amberite005-Mar-04 9:13 
GeneralRe: Drawing column headers Pin
Heath Stewart5-Mar-04 9:37
protectorHeath Stewart5-Mar-04 9:37 
GeneralRe: Drawing column headers Pin
Amberite005-Mar-04 9:41
Amberite005-Mar-04 9:41 
GeneralInstall remote Window Service Pin
hxxbin5-Mar-04 4:43
hxxbin5-Mar-04 4:43 
GeneralCounting Items post RowFilter in a DataView Pin
MrEyes5-Mar-04 3:33
MrEyes5-Mar-04 3:33 
QuestionHow can I pull multiple icons from a single embedded bitmap? Pin
AppMaker885-Mar-04 1:20
AppMaker885-Mar-04 1:20 
AnswerRe: How can I pull multiple icons from a single embedded bitmap? Pin
Heath Stewart5-Mar-04 6:14
protectorHeath Stewart5-Mar-04 6:14 
GeneralGraphics, Bitmaps, and a Process that doesn't close Pin
Rendall4-Mar-04 23:35
Rendall4-Mar-04 23:35 
GeneralRe: Graphics, Bitmaps, and a Process that doesn't close Pin
Heath Stewart5-Mar-04 6:07
protectorHeath Stewart5-Mar-04 6:07 
GeneralRe: Graphics, Bitmaps, and a Process that doesn't close Pin
Rendall12-Mar-04 20:01
Rendall12-Mar-04 20:01 
GeneralRe: Graphics, Bitmaps, and a Process that doesn't close Pin
Rendall13-Mar-04 0:11
Rendall13-Mar-04 0:11 
GeneralMarshalling Problem Pin
nvenkat4-Mar-04 23:02
nvenkat4-Mar-04 23:02 
GeneralRe: Marshalling Problem Pin
Roman Rodov4-Mar-04 23:51
Roman Rodov4-Mar-04 23:51 
GeneralRe: Marshalling Problem Pin
nvenkat5-Mar-04 19:19
nvenkat5-Mar-04 19:19 
Generalchecklistbox problem Pin
ASGill4-Mar-04 21:34
ASGill4-Mar-04 21:34 

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.