File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed
External/Plugins/ASCompletion Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1818using PluginCore . Helpers ;
1919using PluginCore . Localization ;
2020using PluginCore . Managers ;
21+ using PluginCore . Controls ;
2122
2223namespace ASCompletion
2324{
@@ -138,6 +139,7 @@ private void InitializeControls()
138139 outlineTree . ShowNodeToolTips = true ;
139140 Controls . Add ( outlineTree ) ;
140141 outlineTree . BringToFront ( ) ;
142+ ScrollBarEx . Attach ( outlineTree ) ;
141143 }
142144
143145 private void TreeIcons_Populate ( object sender , EventArgs e )
Original file line number Diff line number Diff line change 55 * - extends StateSavingTreeView
66 */
77using PluginCore ;
8- using System . Runtime . InteropServices ;
8+ using System . Drawing ;
99
1010namespace System . Windows . Forms
1111{
@@ -134,6 +134,17 @@ protected override void OnPaint(PaintEventArgs e)
134134 base . OnPaint ( e ) ;
135135 }
136136
137+ protected override void WndProc ( ref Message message )
138+ {
139+ switch ( message . Msg )
140+ {
141+ case 0xf : // WM_PAINT
142+ OnPaint ( new PaintEventArgs ( Graphics . FromHwnd ( this . Handle ) , this . Bounds ) ) ;
143+ break ;
144+ }
145+ base . WndProc ( ref message ) ;
146+ }
147+
137148 }
138149
139150}
You can’t perform that action at this time.
0 commit comments