|
||
Title: minimize/maximize MIDI-OX via scripting Post by rkelso on Jan 16th, 2006, 4:10pm Hello, Is it possible to minimize and later maximize the MIDI-OX window via a scripting command? Thanks! RKelso |
||
Title: Re: minimize/maximize MIDI-OX via scripting Post by Jamie OConnell on Jan 17th, 2006, 10:34am Not directly, but maybe you could obtain a handle to the MIDI-OX instance Window and send it standard Windows messages: WM_MAXIMIZE or WM_MINIMIZE. There may be other possibilities in the Shell object for WSH as well. |
||
Title: Re: minimize/maximize MIDI-OX via scripting Post by aquawicket on Apr 2nd, 2006, 5:17pm 'Visual Basic Code 'Minimize Midi-OX Button '----------------------- 'Declair these first at the top... 'API Declarations Private Declare Function FindWindow Lib "user32" Alias _ "FindWindowA" (ByVal lpClassName As String, ByVal _ lpWindowName As String) As Long Private Declare Function ShowWindow Lib "user32" (ByVal _ hwnd As Long, ByVal nCmdShow As Long) As Long Private Const SW_MINIMIZE = 2 'Here is a button to Minimize midi-ox '---------------------------------- Private Sub Button_Click() Dim WinHandle As Long WinHandle = FindWindow(vbNullString, "MIDI-OX") ShowWindow WinHandle, SW_MINIMIZE End Sub |
||
MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1! YaBB © 2000-2003. All Rights Reserved. |