如果我想更改TextBox滚动条的位置,除此之外我还需要做什么:
TextBox
SetScrollPos(IntPtr hWnd, int nBar, int nPos, bool bRedraw);
此函数仅更改滚动条位置,但不更新实际TextBox(因此滚动条"滚动",但文本不会).有什么建议?我在Visual Studio 2008中使用Windows Forms和.NET 4.
.net c# c++ scrollbar winforms
.net ×1
c# ×1
c++ ×1
scrollbar ×1
winforms ×1