Click here to Skip to main content
15,914,820 members
Home / Discussions / C#
   

C#

 
GeneralOwner drawn Menu Items Pin
Katalin20-Feb-04 0:20
Katalin20-Feb-04 0:20 
GeneralRe: Owner drawn Menu Items Pin
Heath Stewart20-Feb-04 3:30
protectorHeath Stewart20-Feb-04 3:30 
GeneralRe: Owner drawn Menu Items Pin
Katalin20-Feb-04 4:28
Katalin20-Feb-04 4:28 
GeneralRe: Owner drawn Menu Items Pin
Heath Stewart20-Feb-04 6:14
protectorHeath Stewart20-Feb-04 6:14 
GeneralRe: Owner drawn Menu Items Pin
Katalin22-Feb-04 21:47
Katalin22-Feb-04 21:47 
GeneralRe: Owner drawn Menu Items Pin
Heath Stewart23-Feb-04 3:32
protectorHeath Stewart23-Feb-04 3:32 
GeneralRe: Owner drawn Menu Items Pin
Katalin23-Feb-04 3:51
Katalin23-Feb-04 3:51 
GeneralRe: Owner drawn Menu Items Pin
Heath Stewart23-Feb-04 3:56
protectorHeath Stewart23-Feb-04 3:56 
GeneralRe: Owner drawn Menu Items Pin
Katalin23-Feb-04 22:07
Katalin23-Feb-04 22:07 
GeneralCOM Problem - StrRetToStr() Pin
Tristan Rhodes20-Feb-04 0:14
Tristan Rhodes20-Feb-04 0:14 
Generalrun command Pin
Rob Tomson20-Feb-04 0:01
Rob Tomson20-Feb-04 0:01 
GeneralRe: run command Pin
Mazdak20-Feb-04 0:54
Mazdak20-Feb-04 0:54 
GeneralRe: run command Pin
Jaclyn20-Feb-04 1:00
Jaclyn20-Feb-04 1:00 
GeneralRe: run command Pin
Rob Tomson20-Feb-04 5:29
Rob Tomson20-Feb-04 5:29 
GeneralScrollableControl Pin
PaulStat19-Feb-04 23:36
PaulStat19-Feb-04 23:36 
GeneralRe: ScrollableControl Pin
Werdna20-Feb-04 3:33
Werdna20-Feb-04 3:33 
GeneralRe: ScrollableControl Pin
Heath Stewart20-Feb-04 3:42
protectorHeath Stewart20-Feb-04 3:42 
You'll have to override WndProc and handle all the scrolling messages yourself. You should also P/Invoke SendMessage so that you can send messages to the scroll bars (or the parent control, actually) to control how they track.

For more information on the common control scroll bars (since most of the controls and other classes in System.Windows.Forms encapsulate the Windows Common controls and other Windows Management APIs), see scroll bars[^] in the Platform SDK.

 

Microsoft MVP, Visual C#
My Articles
GeneralRaise an Scrollevent Pin
Fleischen19-Feb-04 23:21
Fleischen19-Feb-04 23:21 
GeneralRe: Raise an Scrollevent Pin
Mazdak20-Feb-04 0:57
Mazdak20-Feb-04 0:57 
GeneralAdd checkbox to BrowseForFolder Pin
Rob Tomson19-Feb-04 21:14
Rob Tomson19-Feb-04 21:14 
GeneralAccessing taskbar apps Pin
Jaclyn19-Feb-04 21:12
Jaclyn19-Feb-04 21:12 
GeneralRe: Accessing taskbar apps Pin
Mazdak20-Feb-04 0:41
Mazdak20-Feb-04 0:41 
GeneralRe: Accessing taskbar apps Pin
Heath Stewart20-Feb-04 3:46
protectorHeath Stewart20-Feb-04 3:46 
GeneralMainWindowHandle Pin
Jaclyn23-Feb-04 22:46
Jaclyn23-Feb-04 22:46 
GeneralRe: MainWindowHandle Pin
Heath Stewart24-Feb-04 3:38
protectorHeath Stewart24-Feb-04 3:38 

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.