Click here to Skip to main content
16,011,611 members
Home / Discussions / C#
   

C#

 
GeneralRe: Win32 APi with C# Pin
kasturirawat2-Jan-02 6:39
kasturirawat2-Jan-02 6:39 
GeneralRe: Win32 APi with C# Pin
James T. Johnson2-Jan-02 9:50
James T. Johnson2-Jan-02 9:50 
GeneralTAPI Pin
31-Dec-01 4:27
suss31-Dec-01 4:27 
GeneralAutomating MS Office97/2000/XP with same C# Code Pin
29-Dec-01 1:41
suss29-Dec-01 1:41 
GeneralRe: Automating MS Office97/2000/XP with same C# Code Pin
James T. Johnson30-Dec-01 19:59
James T. Johnson30-Dec-01 19:59 
GeneralRe: Automating MS Office97/2000/XP with same C# Code Pin
Peter Tewkesbury2-Jan-02 5:49
professionalPeter Tewkesbury2-Jan-02 5:49 
GeneralWriting a custom Grid control and need help coding the scrolling events Pin
hsd28-Dec-01 10:01
hsd28-Dec-01 10:01 
GeneralRe: Writing a custom Grid control and need help coding the scrolling events Pin
James T. Johnson30-Dec-01 20:16
James T. Johnson30-Dec-01 20:16 
I think you're doing too much work on your own here. Windows Forms provides a ScrollableControl class (as well as Panel and ContainerControl).

If you have your control inherit from one of those the scrolling will be taken care of for you, you can set the current position with the AutoScrollPosition property (assuming you have autoscrolling enabled).

Now sure off hand what sets the bounds for scroll, my first guess would be something with the AutoScrollMinSize property.

HTH,

James

Sonork ID: 100.11138 - Hasaki
GeneralRe: Writing a custom Grid control and need help coding the scrolling events Pin
James T. Johnson31-Dec-01 20:02
James T. Johnson31-Dec-01 20:02 
GeneralFunction Pin
26-Dec-01 16:32
suss26-Dec-01 16:32 
GeneralRe: Function Pin
Christian Graus26-Dec-01 16:50
protectorChristian Graus26-Dec-01 16:50 
GeneralRe: Function Pin
Andreas Philipson26-Dec-01 23:18
Andreas Philipson26-Dec-01 23:18 
GeneralRe: Function Pin
Eric Gunnerson (msft)2-Jan-02 8:59
Eric Gunnerson (msft)2-Jan-02 8:59 
QuestionUsing Fixed Width Fonts like FixedSys, Howto? Pin
fadi26-Dec-01 10:15
fadi26-Dec-01 10:15 
QuestionRegEx question How to string match to New String? Pin
25-Dec-01 20:46
suss25-Dec-01 20:46 
AnswerRe: RegEx question How to string match to New String? Pin
Eric Gunnerson (msft)2-Jan-02 8:58
Eric Gunnerson (msft)2-Jan-02 8:58 
QuestionWhat can C# handle? Pin
25-Dec-01 16:58
suss25-Dec-01 16:58 
AnswerRe: What can C# handle? Pin
Nish Nishant25-Dec-01 17:10
sitebuilderNish Nishant25-Dec-01 17:10 
GeneralRemoting in Win 9x/Me Pin
RIPPER_X23-Dec-01 11:50
RIPPER_X23-Dec-01 11:50 
GeneralEvents Pin
Senkwe Chanda23-Dec-01 4:35
Senkwe Chanda23-Dec-01 4:35 
GeneralRe: Events Pin
Andreas Philipson25-Dec-01 4:28
Andreas Philipson25-Dec-01 4:28 
GeneralRe: Events Pin
ector20-Feb-02 9:51
ector20-Feb-02 9:51 
GeneralExcel COM... Pin
Andreas Philipson20-Dec-01 3:24
Andreas Philipson20-Dec-01 3:24 
GeneralRe: Excel COM... Pin
Eric Gunnerson (msft)2-Jan-02 8:56
Eric Gunnerson (msft)2-Jan-02 8:56 
GeneralRe: Using a managed C++ class library from within C# Pin
Nemanja Trifunovic19-Dec-01 6:16
Nemanja Trifunovic19-Dec-01 6:16 

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.