Method | Description | |
---|---|---|
GetLparamToAppCommand ( |
Taken from MediaPortal Core to help translate a wndproc message to AppCommand The value returned here will be a MediaPortal.AppCommands value (MediaPortal-1/mediaportal/RemotePlugins/AppCommands.cs)
|
|
HIWORD ( int val ) : int |
Taken from MediaPortal Core to help translate a wndproc message to AppCommand
|
|
PreventMonitorPowerdown ( ) : void |
Prevent screen savers from activating
|
|
ReadStringFromMessage ( |
Get the string from the WndProc message
|
|
RestoreWindow ( |
Restore a window and make it top most - can't do this by process name if the window is hidden
|
|
SendKeyToProcess ( |
Send the specified key to the process
|
|
SendKeyToProcess ( string mainWindowTitle, System key ) : void |
Send the specified key to the process
|
|
SendStringToApplication ( int windowHandle, string stringToSend ) : void |
Send a string to the specified window
|
|
SetForeground ( |
Set the window to foreground - can't do this by process name if the window is hidden
|
|
SetForeground ( string mainWindowTitle ) : void |
Set the window to foreground - by name
|
|
SetWindowState ( string processName, WINDOW_STATE state ) : |
Set the window state of the named process
|
Method | Description | |
---|---|---|
FindWindowByCaption ( |
||
PostMessage ( |
||
SendMessage ( int hWnd, int wMsg, |
||
SetActiveWindow ( |
||
SetForegroundWindow ( |
||
SetThreadExecutionState ( EXECUTION_STATE flags ) : EXECUTION_STATE | ||
SetWindowPos ( |
||
SetWindowState ( |
Set the window state by the window handle
|
|
ShowWindow ( |
public static GetLparamToAppCommand ( |
||
lParam | ||
return | int |
public static PreventMonitorPowerdown ( ) : void | ||
return | void |
public static ReadStringFromMessage ( |
||
message | ||
return | string |
public static RestoreWindow ( |
||
mainWindowHandle | ||
return | void |
public static SendKeyToProcess ( |
||
mainWindowHandle | ||
key | System | |
return | void |
public static SendKeyToProcess ( string mainWindowTitle, System key ) : void | ||
mainWindowTitle | string | |
key | System | |
return | void |
public static SendStringToApplication ( int windowHandle, string stringToSend ) : void | ||
windowHandle | int | |
stringToSend | string | |
return | void |
public static SetForeground ( |
||
mainWindowHandle | ||
return | void |
public static SetForeground ( string mainWindowTitle ) : void | ||
mainWindowTitle | string | |
return | void |
public static SetWindowState ( string processName, WINDOW_STATE state ) : |
||
processName | string | |
state | WINDOW_STATE | |
return |