Click here to Skip to main content
15,918,967 members
Home / Discussions / C#
   

C#

 
Generalcombining multiple crystal reports in one pdf file Pin
Visionsoft12-Feb-04 11:38
Visionsoft12-Feb-04 11:38 
QuestionLISTVIEW C# : Blinking a row ? Pin
youssef12-Feb-04 11:01
youssef12-Feb-04 11:01 
AnswerRe: LISTVIEW C# : Blinking a row ? Pin
Heath Stewart12-Feb-04 11:37
protectorHeath Stewart12-Feb-04 11:37 
GeneralWrapping Outlook's database... Pin
profoundwhispers12-Feb-04 10:53
profoundwhispers12-Feb-04 10:53 
GeneralRe: Wrapping Outlook's database... Pin
Heath Stewart12-Feb-04 11:31
protectorHeath Stewart12-Feb-04 11:31 
GeneralRe: Wrapping Outlook's database... Pin
profoundwhispers12-Feb-04 11:49
profoundwhispers12-Feb-04 11:49 
GeneralRe: Wrapping Outlook's database... Pin
Heath Stewart12-Feb-04 12:03
protectorHeath Stewart12-Feb-04 12:03 
GeneralListView Pin
Gary Kirkham12-Feb-04 10:20
Gary Kirkham12-Feb-04 10:20 
GeneralRe: ListView Pin
Heath Stewart12-Feb-04 11:15
protectorHeath Stewart12-Feb-04 11:15 
GeneralRe: ListView Pin
Gary Kirkham12-Feb-04 13:46
Gary Kirkham12-Feb-04 13:46 
GeneralRe: ListView Pin
Heath Stewart12-Feb-04 15:37
protectorHeath Stewart12-Feb-04 15:37 
GeneralCustom scrolling on control Pin
Judah Gabriel Himango12-Feb-04 10:00
sponsorJudah Gabriel Himango12-Feb-04 10:00 
I've built a custom control that displays some objects as text (each text entry is NOT a System.Windows.Forms.Control).

So, after the OnPaint override is called, my control might look like this:

------------
| someText |
| hello    |
| blah     |
------------


All is well. However, when I write text past the client area of the control, like so:

------------
| someText |
| hello    |
| blah     |
------------
  more text
  even more


The last two lines of text that I've drawn are obviously not visible. So, in order to see the last 2 lines of text I've drawn on my control, I need to put in a scrollbar. Using a scrollbar, I can get the last two lines of text to display...however, only if I repaint the whole control, which means that every time I scroll, I need to repaint the control (which results in "flashing").

So, is there a better way to do this? I guess my real question is, what is the normal way to implement custom scrolling?

The graveyards are filled with indispensible men.
GeneralRe: Custom scrolling on control Pin
Heath Stewart12-Feb-04 11:09
protectorHeath Stewart12-Feb-04 11:09 
GeneralRe: Custom scrolling on control Pin
Judah Gabriel Himango12-Feb-04 15:01
sponsorJudah Gabriel Himango12-Feb-04 15:01 
GeneralRe: Custom scrolling on control Pin
Heath Stewart12-Feb-04 15:34
protectorHeath Stewart12-Feb-04 15:34 
GeneralRe: Custom scrolling on control Pin
Heath Stewart12-Feb-04 11:11
protectorHeath Stewart12-Feb-04 11:11 
GeneralBest algorithm... Pin
profoundwhispers12-Feb-04 9:09
profoundwhispers12-Feb-04 9:09 
GeneralRe: Best algorithm... Pin
Heath Stewart12-Feb-04 11:04
protectorHeath Stewart12-Feb-04 11:04 
GeneralWriting to app.config... Pin
profoundwhispers12-Feb-04 8:34
profoundwhispers12-Feb-04 8:34 
GeneralRe: Writing to app.config... Pin
Heath Stewart12-Feb-04 8:54
protectorHeath Stewart12-Feb-04 8:54 
GeneralRe: Writing to app.config... Pin
profoundwhispers12-Feb-04 9:10
profoundwhispers12-Feb-04 9:10 
Generalfinding bad resource strings on compile Pin
elena1234512-Feb-04 8:30
elena1234512-Feb-04 8:30 
GeneralRe: finding bad resource strings on compile Pin
leppie12-Feb-04 8:44
leppie12-Feb-04 8:44 
GeneralRe: finding bad resource strings on compile Pin
elena1234512-Feb-04 8:56
elena1234512-Feb-04 8:56 
GeneralRe: finding bad resource strings on compile Pin
Kentamanos12-Feb-04 9:05
Kentamanos12-Feb-04 9:05 

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.