Click here to Skip to main content
15,920,217 members
Home / Discussions / C#
   

C#

 
GeneralWrong forum? Pin
Mircea Puiu13-Feb-08 0:39
Mircea Puiu13-Feb-08 0:39 
GeneralI have some simple problem with dataset Pin
seta_yas13-Feb-08 0:22
seta_yas13-Feb-08 0:22 
GeneralRe: I have some simple problem with dataset Pin
Mircea Puiu13-Feb-08 0:41
Mircea Puiu13-Feb-08 0:41 
GeneralRe: I have some simple problem with dataset Pin
seta_yas17-Feb-08 17:59
seta_yas17-Feb-08 17:59 
GeneralQuestion on FastListView. Pin
vinutha kempanna13-Feb-08 0:15
vinutha kempanna13-Feb-08 0:15 
QuestionHOW TO SEND RESULT OF AN ASYNCHRONOUSLY CALLED WEBMETHOD TO A WEBFORM AFTER RENDERING THE WEBFORM? Pin
syamooo13-Feb-08 0:12
syamooo13-Feb-08 0:12 
GeneralRe: HOW TO SEND RESULT OF AN ASYNCHRONOUSLY CALLED WEBMETHOD TO A WEBFORM AFTER RENDERING THE WEBFORM? Pin
Mircea Puiu13-Feb-08 0:47
Mircea Puiu13-Feb-08 0:47 
GeneralOnPaint ClipRectangle is whole control when resizing Pin
Rob Philpott13-Feb-08 0:05
Rob Philpott13-Feb-08 0:05 
Hi All,

So I have developed a custom control, nice it is, that derives from Panel (which derives from ScrollableControl). All is looking quite good, but the whole control flickers when resized.

My OnPaint handler only redraws what's in the ClipRectangle to try an keep performance up, but the problem it seems is that when resizing the ClipRectangle I get is always the size of the whole control eg. (0, 0, 600, 400) so the whole thing is redrawn. I'd expect that when the control size is increased, the ClipRectangle would be just the area which becomes visible as a result. I'd expect something like (600, 0, 700, 400) when widening the control. Infact I've seen it work like this before.

I've tried playing around with ControlStyles including the ResizeRedraw but I can't change the behaviour. Can anyone shed any light on why this might be happening?

Thanks.

Regards,
Rob Philpott.

GeneralRe: OnPaint ClipRectangle is whole control when resizing Pin
Mircea Puiu13-Feb-08 0:37
Mircea Puiu13-Feb-08 0:37 
GeneralRe: OnPaint ClipRectangle is whole control when resizing Pin
Rob Philpott13-Feb-08 0:41
Rob Philpott13-Feb-08 0:41 
GeneralRe: OnPaint ClipRectangle is whole control when resizing Pin
Mircea Puiu13-Feb-08 0:52
Mircea Puiu13-Feb-08 0:52 
QuestionVLC Pin
Smithakrishnan12-Feb-08 21:17
Smithakrishnan12-Feb-08 21:17 
GeneralCNG Components for windows XP Pin
Abhijit Jana12-Feb-08 21:15
professionalAbhijit Jana12-Feb-08 21:15 
Generalconvert 24bppRgb to 8bppIndexed in c#. Pin
Abdul Rahman Hamidy12-Feb-08 20:49
Abdul Rahman Hamidy12-Feb-08 20:49 
GeneralRe: convert 24bppRgb to 8bppIndexed in c#. Pin
Ed.Poore12-Feb-08 21:45
Ed.Poore12-Feb-08 21:45 
GeneralRe: convert 24bppRgb to 8bppIndexed in c#. Pin
Abdul Rahman Hamidy12-Feb-08 22:04
Abdul Rahman Hamidy12-Feb-08 22:04 
GeneralRe: convert 24bppRgb to 8bppIndexed in c#. Pin
Martin#12-Feb-08 22:00
Martin#12-Feb-08 22:00 
GeneralRe: convert 24bppRgb to 8bppIndexed in c#. Pin
Abdul Rahman Hamidy12-Feb-08 22:18
Abdul Rahman Hamidy12-Feb-08 22:18 
GeneralRe: convert 24bppRgb to 8bppIndexed in c#. Pin
Martin#12-Feb-08 22:20
Martin#12-Feb-08 22:20 
GeneralOT Pin
Vikram A Punathambekar13-Feb-08 1:30
Vikram A Punathambekar13-Feb-08 1:30 
GeneralRe: OT Pin
Martin#13-Feb-08 4:24
Martin#13-Feb-08 4:24 
QuestionHow to get German charators Pin
Jamman12-Feb-08 20:42
Jamman12-Feb-08 20:42 
AnswerRe: How to get German charators Pin
Tony Richards12-Feb-08 22:07
Tony Richards12-Feb-08 22:07 
AnswerRe: How to get German charators Pin
Guffa12-Feb-08 22:14
Guffa12-Feb-08 22:14 
AnswerRe: How to get German charators Pin
Joachim Kerschbaumer12-Feb-08 22:15
Joachim Kerschbaumer12-Feb-08 22:15 

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.