-
November 5th, 2009, 10:22 AM
#1
Scrolling to textbox bottom without focus ?
Hey,
I have a textbox control that functions as a log window for my application, and I've successfully made it scroll to the bottom automatically.
Unfortunately the function used gives the window focus (While I don't want that) I've tried using selStart with the textbox length, and I tried using the following API call:
Code:
SendMessage txtLog.hWnd, WMVSCROLL, SBBOTTOM, 0
Is there any other API call or anything that makes it scroll to the bottom without giving focus to it ?
Edit: Just changing the text of the textbox gives it focus apperently, is there any way to prevent this ?
Thanks for your time, Xeross
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|