Click here to Skip to main content
15,896,383 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi!

I want two independent windows to be scroll synchronously using WIN32 C++. Right now whichever window in focused, scroll is working for only that window. But my requirement is like, with a single scroll both the windows should scroll. Someone suggested me to send same scroll message for other window also, but MSDN says WM_HSCROLL message executes only for the active window. Please suggest some resolution for this, below is the message sent for scrolling

C++
FORWARD_WM_MOUSEWHEEL((HWND) *EegOut, x, y, zDelta, fwKeys, SendMessage);


After this SendMessage sends WM_HSCROLL message.
Please help.
Posted
Updated 16-Jun-10 21:45pm
v3

1 solution

See this[^] thread, which contains the answer for a similar problem. :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900