Andrew Johnston johnstonam@logica.com writes:
I am not sure I understand correctly. Sending a message to the window for SB_CTL scroll bars seems to run the possibility of an infinite recursion. The message handling code simply uses the API functions. Is the following what is desired?
No, the message handling has to be changed too of course. Instead of having the message handler call the API function it has to be done the other way around, with the API function sending a message and the handler doing the work by accessing the info structure directly.