jeudi 12 mars 2015

Using mouse wheel to scroll while hovering over textbox in Powershell

Have not had any luck in attempting to search for this. Curious if it is possible to use the scroll wheel on a mouse, while hovering over a textbox in a GUI, not while the textbox has focus. I am using WinForms, maybe its possible in WPF? Here is the current code for my textbox:


$textboxResults = New-Object System.Windows.Forms.TextBox $textboxResults.Size = New-Object Drawing.Size @(300,378)#585,378 $textboxResults.Location = New-Object Drawing.Size @(30,165)#64,143 $textboxResults.Multiline = $true $textboxResults.TabStop = $false $textboxResults.ReadOnly = $true $textboxResults.ScrollBars = "Both"


Aucun commentaire:

Enregistrer un commentaire