Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SB_BOTTOM different from Win XP and Win98

Status
Not open for further replies.

Benlecool

Programmer
Apr 14, 2005
11
CA
Hello,

I'm calling this code:
RichEdit.Lines.Add(a);
RichEdit.perform(WM_VSCROLL, SB_BOTTOM, 0);
RichEdit.perform(WM_VSCROLL, SB_LINEUP, 0);

In Win XP it works fine, the last line is shown and it's in the bottom of the RichEdit. But in Win 98, the last line is show but put in the top of the RichEdit, so I can see only the last line.
Any solution?
Thanks.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top