1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-08-17 00:31:42 +02:00
Files
.github
Application
Browser
Configuration
Controls
ControlExtensions.cs
FlatButton.cs
FlatProgressBar.cs
FlowLayoutPanelNoHScroll.cs
LabelVertical.cs
NumericUpDownEx.cs
Dialogs
Management
Plugins
Properties
Resources
Updates
Utils
bld
lib
subprocess
video
.gitattributes
.gitignore
LICENSE.md
Program.cs
README.md
Reporter.cs
TweetDuck.csproj
TweetDuck.sln
TweetDuck.sln.DotSettings
Version.cs
packages.config
TweetDuck/Controls/FlowLayoutPanelNoHScroll.cs

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);
}
}
}