mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-14 17:42:47 +01:00
15 lines
397 B
C#
15 lines
397 B
C#
using System.Windows.Forms;
|
|
using TweetDuck.Utils;
|
|
|
|
namespace TweetDuck.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);
|
|
}
|
|
}
|
|
}
|