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

C#

 
GeneralRe: TextBox property limitation Pin
Alex Korchemniy24-Oct-04 18:26
Alex Korchemniy24-Oct-04 18:26 
Generalbest way to update a database Pin
steve_rm24-Oct-04 6:36
steve_rm24-Oct-04 6:36 
GeneralClientTime Information Pin
gupta vaibhav24-Oct-04 6:23
gupta vaibhav24-Oct-04 6:23 
GeneralRe: ClientTime Information Pin
J4amieC24-Oct-04 21:44
J4amieC24-Oct-04 21:44 
GeneralRe: ClientTime Information Pin
Salil Khedkar24-Oct-04 23:03
Salil Khedkar24-Oct-04 23:03 
GeneralTurn Off Scrollbars on .NET DataGrid Pin
MarkMokris24-Oct-04 6:10
MarkMokris24-Oct-04 6:10 
GeneralRe: Turn Off Scrollbars on .NET DataGrid Pin
Alex Korchemniy24-Oct-04 9:41
Alex Korchemniy24-Oct-04 9:41 
GeneralRichTextBox Scrolling Pin
WilsonProgramming24-Oct-04 5:59
WilsonProgramming24-Oct-04 5:59 
I've been ripping my hair out for a couple of days with a scrolling issue and so I thought it was time to admit defeat and ask for help Frown | :(

If you notice, in the Visual Studio IDE when you drag the vertical scrollbar up or down, the window moves up or down exactly one line at a time - the small movements inbetween seem to be ignored.

However if you try the same with a richtextbox the window scrolls a very small amount at a time meaning that you might be left with half a line of text showing either at the top or bottom of the window.

How do I go about getting the richtextbox to scroll exactly one line at a time when the scrollbar is dragged?

I've tried all sorts, such as intercepting SB_THUMBTRACK, WM_VSCROLL etc, but I just can't figure out how to do it Frown | :(

TIA.Cry | :((


Cheers,
Paul Wilson

GeneralRe: RichTextBox Scrolling Pin
WilsonProgramming25-Oct-04 5:58
WilsonProgramming25-Oct-04 5:58 
QuestionHow to use Universal Link Data (C#)? Pin
Miri Ofir24-Oct-04 5:37
Miri Ofir24-Oct-04 5:37 
AnswerRe: How to use Universal Link Data (C#)? Pin
Nick Parker24-Oct-04 6:17
protectorNick Parker24-Oct-04 6:17 
GeneralRe: How to use Universal Link Data (C#)? Pin
Miri Ofir24-Oct-04 6:28
Miri Ofir24-Oct-04 6:28 
GeneralRe: How to use Universal Link Data (C#)? Pin
Alex Korchemniy24-Oct-04 10:26
Alex Korchemniy24-Oct-04 10:26 
GeneralRe: How to use Universal Link Data (C#)? Pin
Miri Ofir25-Oct-04 1:51
Miri Ofir25-Oct-04 1:51 
Generalwhen to use Point to screen Pin
yonitgil24-Oct-04 3:18
yonitgil24-Oct-04 3:18 
GeneralRe: when to use Point to screen Pin
Nick Parker24-Oct-04 3:30
protectorNick Parker24-Oct-04 3:30 
GeneralRe: when to use Point to screen Pin
yonitgil24-Oct-04 4:43
yonitgil24-Oct-04 4:43 
GeneralEditing a winforms DataGrid Pin
bartwinsimpson23-Oct-04 22:01
bartwinsimpson23-Oct-04 22:01 
GeneralRe: Editing a winforms DataGrid Pin
Ghazi H. Wadi24-Oct-04 0:49
Ghazi H. Wadi24-Oct-04 0:49 
GeneralRe: Editing a winforms DataGrid Pin
DougW4824-Oct-04 5:36
DougW4824-Oct-04 5:36 
GeneralC# remoting for interprocess communication Pin
ting66823-Oct-04 17:54
ting66823-Oct-04 17:54 
GeneralRe: C# remoting for interprocess communication Pin
Alex Korchemniy24-Oct-04 9:31
Alex Korchemniy24-Oct-04 9:31 
GeneralRe: C# remoting for interprocess communication Pin
ting66824-Oct-04 15:50
ting66824-Oct-04 15:50 
QuestionEdit MP3 ID3 Tags in C#? Pin
ethanwa23-Oct-04 17:22
ethanwa23-Oct-04 17:22 
AnswerRe: Edit MP3 ID3 Tags in C#? Pin
Nick Parker24-Oct-04 4:06
protectorNick Parker24-Oct-04 4:06 

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.