Click here to Skip to main content
15,914,820 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: find_if and function objects ('functors') Pin
Jörgen Sigvardsson5-Jul-05 12:37
Jörgen Sigvardsson5-Jul-05 12:37 
GeneralRe: find_if and function objects ('functors') Pin
Rob Caldecott6-Jul-05 0:21
Rob Caldecott6-Jul-05 0:21 
GeneralMFC events, in ATL with MFC support controls Pin
greekgoddj4-Jul-05 22:01
greekgoddj4-Jul-05 22:01 
Generalhandling WM_MOUSEWHEEL between two views Pin
retro_coder4-Jul-05 1:01
retro_coder4-Jul-05 1:01 
GeneralRe: handling WM_MOUSEWHEEL between two views Pin
Cedric Moonen4-Jul-05 23:13
Cedric Moonen4-Jul-05 23:13 
GeneralRe: handling WM_MOUSEWHEEL between two views Pin
Jörgen Sigvardsson6-Jul-05 1:01
Jörgen Sigvardsson6-Jul-05 1:01 
GeneralRe: handling WM_MOUSEWHEEL between two views Pin
Cedric Moonen6-Jul-05 4:00
Cedric Moonen6-Jul-05 4:00 
GeneralRe: handling WM_MOUSEWHEEL between two views Pin
Jörgen Sigvardsson6-Jul-05 1:08
Jörgen Sigvardsson6-Jul-05 1:08 
The MSDN docs says:
The WM_MOUSEWHEEL message is sent to the focus window when the mouse wheel is rotated. The DefWindowProc function propagates the message to the window's parent. There should be no internal forwarding of the message, since DefWindowProc propagates it up the parent chain until it finds a window that processes it.

After having read that, my first stab at the problem would be to process the WM_MOUSEWHEEL message at the splitter level. There I'd use WindowFromPoint() and GetCursorPos() to figure out which window it's over. Then I'd use GetParent() until I get either left or right pane window. Then I'd send the appropriate WM_xSCROLL messages to the correct pane.

--
An eye for an eye will only make the world blind.
GeneralSorry! An error occured while generating the object Pin
AdyOS1-Jul-05 0:12
AdyOS1-Jul-05 0:12 
GeneralRe: Sorry! An error occured while generating the object Pin
toxcct1-Jul-05 0:23
toxcct1-Jul-05 0:23 
GeneralRe: Sorry! An error occured while generating the object Pin
AdyOS1-Jul-05 0:44
AdyOS1-Jul-05 0:44 
GeneralRe: Sorry! An error occured while generating the object Pin
AdyOS1-Jul-05 1:01
AdyOS1-Jul-05 1:01 
GeneralRe: Sorry! An error occured while generating the object Pin
Cedric Moonen4-Jul-05 0:53
Cedric Moonen4-Jul-05 0:53 
GeneralATL interop with CLR Pin
squawkbox30-Jun-05 23:28
squawkbox30-Jun-05 23:28 
GeneralRe: ATL interop with CLR Pin
HaniSalehi25-Apr-10 6:57
HaniSalehi25-Apr-10 6:57 
GeneralConversion of C++ templates into C code Pin
Arun Chakaravarthy28-Jun-05 22:30
Arun Chakaravarthy28-Jun-05 22:30 
GeneralRe: Conversion of C++ templates into C code Pin
CP Visitor29-Jun-05 4:14
CP Visitor29-Jun-05 4:14 
GeneralRe: Conversion of C++ templates into C code Pin
Jörgen Sigvardsson29-Jun-05 12:37
Jörgen Sigvardsson29-Jun-05 12:37 
GeneralRe: Conversion of C++ templates into C code Pin
toxcct29-Jun-05 5:53
toxcct29-Jun-05 5:53 
GeneralUnicode streams and ASCII files Pin
Patje28-Jun-05 4:19
Patje28-Jun-05 4:19 
GeneralRe: Unicode streams and ASCII files Pin
valikac28-Jun-05 11:38
valikac28-Jun-05 11:38 
GeneralRe: Unicode streams and ASCII files Pin
Patje28-Jun-05 12:28
Patje28-Jun-05 12:28 
GeneralRe: Unicode streams and ASCII files Pin
valikac28-Jun-05 12:38
valikac28-Jun-05 12:38 
GeneralRe: Unicode streams and ASCII files Pin
Bobby Mihalca30-Jun-05 22:25
Bobby Mihalca30-Jun-05 22:25 
GeneralRe: Unicode streams and ASCII files Pin
valikac1-Jul-05 8:19
valikac1-Jul-05 8:19 

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.