|
-
March 13th, 2002, 06:16 AM
#1
Scrolling a multiline Edit(box) automatically (Win32)
I'd like to scroll to the bottom of an Edit automatically whenever a line is added, so I wrote this:
SendMessage(hWnd(), LOWORD(WM_VSCROLL), SB_BOTTOM, 0);
hWnd() returns the hwnd of the edit.
This worked just fine under Win2k but it doesn't work at all under Win98. What am I doing wrong?
---
Regards,
Vitaly Belman
ICQ: 1912453
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
|