Fixed other problems with Windows Area scrollbars (after going through Raymond Chen's scrollbar series), added some more future plans, and fixed one of the scrollbar series links (which was accidentally miscopied).
This commit is contained in:
parent
3e047ba174
commit
86c95f40aa
|
@ -328,8 +328,8 @@ func scrollArea(s *sysData, wparam _WPARAM, which uintptr) {
|
|||
case _SB_PAGERIGHT: // also _SB_PAGEDOWN
|
||||
newpos += pagesize
|
||||
case _SB_THUMBPOSITION:
|
||||
// TODO is this the same as SB_THUMBTRACK instead? MSDN says use of thumb pos is only for that one
|
||||
// do nothing; newpos already has the thumb's position
|
||||
// raymond chen says to just set the newpos to the SCROLLINFO nPos for this message; see http://blogs.msdn.com/b/oldnewthing/archive/2003/07/31/54601.aspx and http://blogs.msdn.com/b/oldnewthing/archive/2003/08/05/54602.aspx
|
||||
// do nothing here; newpos already has nPos
|
||||
case _SB_THUMBTRACK:
|
||||
newpos = si.nTrackPos
|
||||
} // otherwise just keep the current position (that's what MSDN example code says, anyway)
|
||||
|
|
|
@ -84,6 +84,9 @@ far off:
|
|||
- problem: cgo-generated files trip -Werror up; I can't seem to turn off unused argument warnings with the -Wall/-Wextra/-pedantic options
|
||||
- strip non-Windows XP constants from the Windows constants files? or at least just comment them all out...
|
||||
- add a check to ensure Common Controls 6 is loaded; that is, to ensure the activation context was actually activated and that some other package didn't unwittingly give us the wrong one
|
||||
- keyboard and mouse wheel scrolling in Areas
|
||||
- probably as a toggle (Area.SetKeyboardScrollable()) that inhibits those KeyEvents
|
||||
- then the numpad becomes an issue
|
||||
|
||||
big things:
|
||||
- make sure every sysData function only performs a single invocation to uitask; see http://blogs.msdn.com/b/oldnewthing/archive/2005/10/10/479124.aspx#479182
|
||||
|
@ -291,7 +294,7 @@ This actually turns out to be one of the very first things that Raymond ever blo
|
|||
- http://blogs.msdn.com/b/oldnewthing/archive/2003/08/15/54647.aspx
|
||||
- http://blogs.msdn.com/b/oldnewthing/archive/2003/08/18/54668.aspx
|
||||
- http://blogs.msdn.com/b/oldnewthing/archive/2003/09/09/54826.aspx
|
||||
- http://blogs.msdn.com/b/oldnewthing/archive/2003/09/13/54917.aspx
|
||||
- http://blogs.msdn.com/b/oldnewthing/archive/2003/09/11/54885.aspx
|
||||
- http://blogs.msdn.com/b/oldnewthing/archive/2003/09/13/54917.aspx
|
||||
- http://blogs.msdn.com/b/oldnewthing/archive/2003/09/15/54925.aspx
|
||||
- http://blogs.msdn.com/b/oldnewthing/archive/2003/09/17/54944.aspx
|
||||
|
|
Loading…
Reference in New Issue