using System.Windows.Forms; using TweetDuck.Core.Utils; namespace TweetDuck.Core.Controls{ sealed class FlowLayoutPanelNoHScroll : FlowLayoutPanel{ protected override void WndProc(ref Message m){ if (m.Msg == 0x85){ // WM_NCPAINT NativeMethods.ShowScrollBar(Handle, NativeMethods.SB_HORZ, false); // basically fuck the horizontal scrollbar very much } base.WndProc(ref m); } } }