Click here to Skip to main content
16,005,339 members
Home / Discussions / C#
   

C#

 
GeneralRe: populate treeview with dataset Pin
Heath Stewart30-Aug-04 7:49
protectorHeath Stewart30-Aug-04 7:49 
QuestionCan apple ArrayList in string[] Pin
arbrsoft30-Aug-04 6:57
arbrsoft30-Aug-04 6:57 
AnswerRe: Can apple ArrayList in string[] Pin
Judah Gabriel Himango30-Aug-04 7:02
sponsorJudah Gabriel Himango30-Aug-04 7:02 
GeneralNested UserControls Pin
Den2Fly30-Aug-04 6:16
Den2Fly30-Aug-04 6:16 
GeneralRe: Nested UserControls Pin
Charlie Williams30-Aug-04 6:24
Charlie Williams30-Aug-04 6:24 
GeneralRe: Nested UserControls Pin
Nick Parker30-Aug-04 6:25
protectorNick Parker30-Aug-04 6:25 
QuestionHas anyone attempted synchronized scolling? Pin
LongRange.Shooter30-Aug-04 6:12
LongRange.Shooter30-Aug-04 6:12 
AnswerRe: Has anyone attempted synchronized scolling? Pin
Heath Stewart30-Aug-04 7:34
protectorHeath Stewart30-Aug-04 7:34 
It's possible and quite easy. There are serveral articles here on CodeProject that describe this in various languages, and if you click "Search comments" you can search this message board where we've discussed this before as well.

One such article is Scrolling Around with the RichTextBox Control[^]. It's in VB.NET but mostly calls to the BCL and P/Invoke method (PostMessage, to be exact). You handle the scrolling events (or notification message sent to the native window handle (HWND), which does make things easier) and post them to the message queue for another RichTextBox. Keep in mind that almost all the Windows Forms controls are just encapsulating native Common Controls, so windows messages are still sent/posted and handled by a window procedure (defined as Control.WndProc).

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles]
GeneralRe: Has anyone attempted synchronized scolling? Pin
LongRange.Shooter31-Aug-04 6:50
LongRange.Shooter31-Aug-04 6:50 
GeneralRe: Has anyone attempted synchronized scolling? Pin
progload3-Oct-04 10:21
progload3-Oct-04 10:21 
GeneralErrorProvider() Not Displayed Pin
dbetting30-Aug-04 5:36
dbetting30-Aug-04 5:36 
Generalinstalling global cbt hooks in c# Pin
vignesh_s30-Aug-04 3:51
vignesh_s30-Aug-04 3:51 
GeneralRe: installing global cbt hooks in c# Pin
Nick Parker30-Aug-04 4:15
protectorNick Parker30-Aug-04 4:15 
GeneralRe: installing global cbt hooks in c# Pin
Duncan Edwards Jones30-Aug-04 4:15
professionalDuncan Edwards Jones30-Aug-04 4:15 
GeneralRe: installing global cbt hooks in c# Pin
vignesh_s3-Sep-04 3:40
vignesh_s3-Sep-04 3:40 
Generalset time in c# Pin
erina54830-Aug-04 3:14
erina54830-Aug-04 3:14 
GeneralRe: set time in c# Pin
Nick Parker30-Aug-04 4:27
protectorNick Parker30-Aug-04 4:27 
GeneralRe: set time in c# Pin
Heath Stewart30-Aug-04 5:56
protectorHeath Stewart30-Aug-04 5:56 
GeneralExporting to CVS Pin
Digger2730-Aug-04 1:15
Digger2730-Aug-04 1:15 
GeneralRe: Exporting to CVS Pin
Colin Angus Mackay30-Aug-04 1:31
Colin Angus Mackay30-Aug-04 1:31 
GeneralRe: Exporting to CVS Pin
Digger2730-Aug-04 4:27
Digger2730-Aug-04 4:27 
GeneralRe: Exporting to CVS Pin
Nick Parker30-Aug-04 4:22
protectorNick Parker30-Aug-04 4:22 
GeneralISA bus access Pin
zaarzzz30-Aug-04 1:12
zaarzzz30-Aug-04 1:12 
GeneralRe: ISA bus access Pin
leppie30-Aug-04 3:05
leppie30-Aug-04 3:05 
GeneralExport a report to multiple excel files Pin
KSEI30-Aug-04 1:04
KSEI30-Aug-04 1:04 

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.