Click here to Skip to main content
15,890,123 members
Home / Discussions / C#
   

C#

 
GeneralRe: passing objects via WebServices Pin
Heath Stewart4-Aug-03 10:39
protectorHeath Stewart4-Aug-03 10:39 
GeneralMIME filter Pin
Bog4-Aug-03 7:58
Bog4-Aug-03 7:58 
GeneralRe: MIME filter Pin
Arun Bhalla4-Aug-03 12:40
Arun Bhalla4-Aug-03 12:40 
GeneralRe: MIME filter Pin
Heath Stewart5-Aug-03 17:08
protectorHeath Stewart5-Aug-03 17:08 
Generalstring manipulation for phone numbers Pin
mikemilano4-Aug-03 7:23
mikemilano4-Aug-03 7:23 
GeneralRe: string manipulation for phone numbers Pin
Nathan Blomquist4-Aug-03 16:13
Nathan Blomquist4-Aug-03 16:13 
GeneralRe: string manipulation for phone numbers Pin
J. Dunlap4-Aug-03 16:34
J. Dunlap4-Aug-03 16:34 
Generalcontrolling (auto)scrollbars with keys Pin
misterbear4-Aug-03 5:47
misterbear4-Aug-03 5:47 
I have a panel with scrollbars, and now I want to be able to control the scrollbars with up-down-right-left and pgdown/pgup keys. So I've added key listeners, like below:

.
.
else if(ke.KeyCode == Keys.Left)
{
AutoScrollPosition = new Point(this.AutoScrollPosition.X + 10, 0)
}
else if(ke.KeyCode == Keys.Right)
{
AutoScrollPosition = new Point(this.AutoScrollPosition.X - 10, 0)
}
.
.

now the first time i press the 'right' key it will jump 10, but when I press the same key again,
the position will be reset!!!! why why why.
I check the autoscroll position before i press 'Right' and it's 0. afterwards it's -10.
the before i press it again it's -10 also. But when i press it yet again, it's back to 0 ...??

can anyone please tell my why (-10) - (10) equals 0 ??


GeneralRe: controlling (auto)scrollbars with keys Pin
Furty4-Aug-03 22:20
Furty4-Aug-03 22:20 
QuestionGetCursorInfo in C#? Pin
CyberKewl4-Aug-03 4:38
CyberKewl4-Aug-03 4:38 
AnswerRe: GetCursorInfo in C#? Pin
Heath Stewart4-Aug-03 6:00
protectorHeath Stewart4-Aug-03 6:00 
GeneralRe: GetCursorInfo in C#? Pin
CyberKewl4-Aug-03 13:37
CyberKewl4-Aug-03 13:37 
GeneralRe: GetCursorInfo in C#? Pin
Heath Stewart5-Aug-03 5:25
protectorHeath Stewart5-Aug-03 5:25 
GeneralRe: GetCursorInfo in C#? Pin
CyberKewl5-Aug-03 13:27
CyberKewl5-Aug-03 13:27 
GeneralRe: GetCursorInfo in C#? Pin
Heath Stewart5-Aug-03 17:03
protectorHeath Stewart5-Aug-03 17:03 
GeneralRe: GetCursorInfo in C#? Pin
CyberKewl6-Aug-03 0:47
CyberKewl6-Aug-03 0:47 
GeneralRe: GetCursorInfo in C#? Pin
Heath Stewart6-Aug-03 4:28
protectorHeath Stewart6-Aug-03 4:28 
GeneralRe: GetCursorInfo in C#? Pin
CyberKewl6-Aug-03 14:16
CyberKewl6-Aug-03 14:16 
GeneralDatagrids - Selecting Rows Pin
MrEyes4-Aug-03 3:02
MrEyes4-Aug-03 3:02 
GeneralRe: Datagrids - Selecting Rows Pin
Kannan Kalyanaraman4-Aug-03 5:19
Kannan Kalyanaraman4-Aug-03 5:19 
GeneralRe: Datagrids - Selecting Rows Pin
MrEyes4-Aug-03 5:22
MrEyes4-Aug-03 5:22 
GeneralRe: Datagrids - Selecting Rows Pin
Heath Stewart4-Aug-03 6:05
protectorHeath Stewart4-Aug-03 6:05 
GeneralRe: Datagrids - Selecting Rows Pin
MrEyes5-Aug-03 0:42
MrEyes5-Aug-03 0:42 
GeneralRe: Datagrids - Selecting Rows Pin
Heath Stewart5-Aug-03 5:34
protectorHeath Stewart5-Aug-03 5:34 
Generalcom object, [out] params (pointers to values), C# Pin
alma4-Aug-03 1:55
alma4-Aug-03 1:55 

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.