
SendMessage(richTextBox1. shift focus from RichTextBox to some other control allow autoscroll if selection is at end of textīool autoscroll = (selection=) (If you dont see the Video autoplay setting on your Android. Int length = richTextBox1.SelectionLength Scroll down and tap App settings > Tap Autoplay > Choose the option you prefer. Int selection = richTextBox1.SelectionStart Facebook keeps automatically scrolling How do I stop my feed from automatically scrolling in Facebook using Safari on desktop Show moreLess iMac 27, macOS 12.


Static extern IntPtr SendMessage(IntPtr hWnd, UInt32 Msg, Int32 wParam, Int32 lParam) Ĭonst int EM_HIDESELECTION = WM_USER + 63 You may also want to check whether the selection is already at the end of the text, and allow the autoscrolling behaviour if it is - this essentially emulates the behaviour of Visual Studio's Output window. Log in to your account if you haven’t already. Open Facebook on your preferred web browser. Hide selection (through a Windows message) Follow the step-by-step guide below to disable auto-scrolling on Facebook: Step-by-Step Guide to Disabling Auto-Scrolling on Facebook: Web Browser (Desktop): a.To prevent this, you need to do the following when appending text: thing without scrolling, the next video will begin playing automatically.

Note that if RichTextBox.HideSelection is set to true, then the selection would be hidden when the control is not in focus this explains the behaviour you described, where autoscrolling occurs only when the user clicks in the control. Reels on FB are short videos, up to 90 seconds, in a vertical format that you. RichTextBox.AppendText(), in addition to appending text, also modifies the current selection, and so indirectly triggers the "autoscrolling" behaviour. The RichTextBox control automatically scrolls to the current selection, if the selection is not hidden.
