Hi,
My app. has a TRANSPARENT (colored) edit control. When trying to scroll the text vertically (using the scrollbar)
the content of the control is mixed up. My app. needs to repaint the control, most likely using InvalidateRect / Updatewindow. But how?
I don't succeed to intercept the notification message, %WM_COMMAND should receive when clicking on the scroll bar.
When clicking in the control itself I can trap its ID and its handle, no problem, but during a click on the vertical scroll
bar %WM_COMMAND seems to return nothing, not even my empty Messagebox used for debugging.
BTW: I also tried to intercept %SC_VSCROLL in %WM_SYSCOMMAND. Same thing: no 'answer'.
------------------
mailto:[email protected][email protected]</A>
www.basicguru.com/zijlema/
My app. has a TRANSPARENT (colored) edit control. When trying to scroll the text vertically (using the scrollbar)
the content of the control is mixed up. My app. needs to repaint the control, most likely using InvalidateRect / Updatewindow. But how?
I don't succeed to intercept the notification message, %WM_COMMAND should receive when clicking on the scroll bar.
When clicking in the control itself I can trap its ID and its handle, no problem, but during a click on the vertical scroll
bar %WM_COMMAND seems to return nothing, not even my empty Messagebox used for debugging.
BTW: I also tried to intercept %SC_VSCROLL in %WM_SYSCOMMAND. Same thing: no 'answer'.
------------------
mailto:[email protected][email protected]</A>
www.basicguru.com/zijlema/
Comment