Click here to Skip to main content
15,880,503 members
Home / Discussions / C#
   

C#

 
QuestionRaw socket handling tcp syn without SIO_RCVALL ? Pin
rantanplanisback21-Jan-04 7:42
rantanplanisback21-Jan-04 7:42 
GeneralArrayList Pin
hornshoj21-Jan-04 7:41
hornshoj21-Jan-04 7:41 
GeneralRe: ArrayList Pin
Heath Stewart21-Jan-04 8:17
protectorHeath Stewart21-Jan-04 8:17 
GeneralScrolling on mouse down/move Pin
MrEyes21-Jan-04 6:15
MrEyes21-Jan-04 6:15 
GeneralRe: Scrolling on mouse down/move Pin
Mazdak21-Jan-04 6:22
Mazdak21-Jan-04 6:22 
GeneralRe: Scrolling on mouse down/move Pin
Heath Stewart21-Jan-04 7:51
protectorHeath Stewart21-Jan-04 7:51 
GeneralRe: Scrolling on mouse down/move Pin
Mazdak21-Jan-04 8:02
Mazdak21-Jan-04 8:02 
GeneralRe: Scrolling on mouse down/move Pin
Heath Stewart21-Jan-04 8:11
protectorHeath Stewart21-Jan-04 8:11 
In a document/view architecture, the position of the document (or even an image in this case) must be tracked so that you know what view (the visible portion of a document or image to draw) to draw. Painting will happen regardless but you need to be able to track the position of where you were in order to know where to move (or rather, how to adjust the view).

He could do it this way but he would have to do all the view calculations himself and it's just not necessary. Even in games development with, say, DirectX you have a world view that you control and the painting of that world within that view is - for the purposes of this discussion - painted by DirectX (it just has to know how to paint).

See my reply to the original thread. Controlling the scroll bars is actually quite easy (though it could be easier if exposed by ScrollableControl or other non-derivative controls that can scroll like the ListView).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Scrolling on mouse down/move Pin
Mazdak21-Jan-04 8:19
Mazdak21-Jan-04 8:19 
GeneralRe: Scrolling on mouse down/move Pin
MrEyes21-Jan-04 12:53
MrEyes21-Jan-04 12:53 
GeneralRe: Scrolling on mouse down/move Pin
Heath Stewart21-Jan-04 8:06
protectorHeath Stewart21-Jan-04 8:06 
GeneralRe: Scrolling on mouse down/move Pin
MrEyes22-Jan-04 0:15
MrEyes22-Jan-04 0:15 
GeneralRe: Scrolling on mouse down/move Pin
Heath Stewart22-Jan-04 4:24
protectorHeath Stewart22-Jan-04 4:24 
GeneralAdding Column to a ListView Pin
Guinness4Strength21-Jan-04 5:37
Guinness4Strength21-Jan-04 5:37 
GeneralRe: Adding Column to a ListView Pin
Heath Stewart21-Jan-04 5:52
protectorHeath Stewart21-Jan-04 5:52 
GeneralRe: Adding Column to a ListView Pin
Guinness4Strength21-Jan-04 5:57
Guinness4Strength21-Jan-04 5:57 
GeneralRe: Adding Column to a ListView Pin
Heath Stewart21-Jan-04 7:50
protectorHeath Stewart21-Jan-04 7:50 
GeneralRe: Adding Column to a ListView Pin
Guinness4Strength22-Jan-04 8:33
Guinness4Strength22-Jan-04 8:33 
GeneralRe: Adding Column to a ListView Pin
Heath Stewart22-Jan-04 9:26
protectorHeath Stewart22-Jan-04 9:26 
GeneralRe: Adding Column to a ListView Pin
Guinness4Strength22-Jan-04 9:33
Guinness4Strength22-Jan-04 9:33 
GeneralRe: Adding Column to a ListView Pin
Heath Stewart22-Jan-04 9:39
protectorHeath Stewart22-Jan-04 9:39 
GeneralRe: Adding Column to a ListView Pin
Guinness4Strength22-Jan-04 9:45
Guinness4Strength22-Jan-04 9:45 
GeneralRe: Adding Column to a ListView Pin
Heath Stewart22-Jan-04 9:49
protectorHeath Stewart22-Jan-04 9:49 
GeneralRe: Adding Column to a ListView Pin
Guinness4Strength22-Jan-04 9:57
Guinness4Strength22-Jan-04 9:57 
GeneralUser friendly error Pin
Anonymous21-Jan-04 4:47
Anonymous21-Jan-04 4:47 

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.