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 18
18
using PluginCore . Helpers ;
19
19
using PluginCore . Localization ;
20
20
using PluginCore . Managers ;
21
+ using PluginCore . Controls ;
21
22
22
23
namespace ASCompletion
23
24
{
@@ -138,6 +139,7 @@ private void InitializeControls()
138
139
outlineTree . ShowNodeToolTips = true ;
139
140
Controls . Add ( outlineTree ) ;
140
141
outlineTree . BringToFront ( ) ;
142
+ ScrollBarEx . Attach ( outlineTree ) ;
141
143
}
142
144
143
145
private void TreeIcons_Populate ( object sender , EventArgs e )
Original file line number Diff line number Diff line change 5
5
* - extends StateSavingTreeView
6
6
*/
7
7
using PluginCore ;
8
- using System . Runtime . InteropServices ;
8
+ using System . Drawing ;
9
9
10
10
namespace System . Windows . Forms
11
11
{
@@ -134,6 +134,17 @@ protected override void OnPaint(PaintEventArgs e)
134
134
base . OnPaint ( e ) ;
135
135
}
136
136
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
+
137
148
}
138
149
139
150
}
You can’t perform that action at this time.
0 commit comments