|That is great, its exactly what I was looking for, thanks lot for the code.
One question though: I implemented the follow code snippet :
private const int WM_HSCROLL = 0x0114;
private const int WM_VSCROLL = 0x0115;
private const int SB_LINEMOVE = 1;
and thend called this within the event I posted above
SendMessage(this.Handle, WM_VSCROLL, SB_LINEMOVE, IntPtr.Zero);
SendMessage(this.Handle, WM_HSCROLL, SB_LINEMOVE, IntPtr.Zero);
The problem is that, although this will happily scroll right/down, it will not scroll up/left. After some reading of the MSDN links you posted I have been unable to locate the necessary codes to do this. Could you possibly point me in the right direction.
EDIT : After some more searching I found the following example, which set SB_LINEUP / SB_LINELEFT to 0 - interestingly this causes the my aplication to crash.
post.mode = signature;
SELECT everything FROM everywhere WHERE something = something_else;
> 1 Row Returned