mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-29 03:15:51 +02:00
15 lines
450 B
C#
15 lines
450 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);
|
|
}
|
|
}
|
|
}
|