Method | Description | |
---|---|---|
Activate ( |
Activates the specified form
|
|
ActivateForm ( |
Activates the specified form
|
|
ActivateWindow ( |
Shows the specified window and brings it to top
|
|
ClickOnWindow ( |
Simulates a mouse click on the specified control
|
|
CloseAsync ( |
Closes the form asynchronously in a different thread
|
|
CloseForm ( |
Closes the specified form This is just a helper function that takes care of cross-thread invokations that would result in .NET exceptions.
|
|
DockWithScanner ( |
Docks the form to the scanner form in the relative position specified
|
|
FadeIn ( |
Fades in the specified form
|
|
FadeOut ( |
Gradually fades out the form
|
|
FindControlAtCursor ( |
Finds the control under the cursor
|
|
FindControlAtPoint ( |
Finds which control of a window is at the specified point
|
|
GetCaretPosition ( |
Returns the caret position in a text box. This is just a helper function that takes care of cross-thread invokations that would result in .NET exceptions.
|
|
GetForegroundWindow ( ) : |
Returns the currently active fg window
|
|
GetOSVersion ( ) : WindowsVersion |
Returns the OS version
|
|
GetOpacity ( |
Gets the transparency of a form This is just a helper function that takes care of cross-thread invokations that would result in .NET exceptions.
|
|
GetScannerPosition ( |
Gets the position of the specified form. which corner is the scanner at?
|
|
GetSelectedText ( |
Returns selected text in the text box
|
|
GetText ( |
Returns the text value of the control. This is just a helper function that takes care of cross-thread invokations that would result in .NET exceptions.
|
|
GetText ( |
Gets text from the speficied window
|
|
GetTrackBarValueInt ( |
Returns trackbar value Takes care of cross-thread invokations that would result in .NET exceptions
|
|
GetVisible ( |
Gets the visibility of a control. This is just a helper function that takes care of cross-thread invokations that would result in .NET exceptions.
|
|
GetWindowTitle ( |
Returns the window title of the specified window
|
|
HideTaskbar ( ) : void |
Hide windows taskbar
|
|
IsDesktopWindow ( |
returns if the specified handle is the desktop window
|
|
IsMaximized ( |
Checks if window is maximized or not
|
|
IsMinimized ( |
Checks if window is minimzied or not
|
|
IsObscuredByNonACATWindows ( |
Checks if any part of the specified window is obscured by a window belonging to a process other than ours
|
|
IsObscuredWindow ( |
Checks if any part of the specified window is obscured by another window. The other window could be one of this application's windows
|
|
MaximizeWindow ( |
Maximizes the window
|
|
MinimizeWindow ( |
Minimizes a window
|
|
PostMessage ( |
Windows PostMessage()
|
|
RestoreWindow ( |
Restores the window from the maximized position
|
|
SendMessage ( |
Windows SendMessage()
|
|
SetActiveWindow ( |
Sets the window as the active window
|
|
SetBackgroundColor ( |
Sets the background color of the widget. Takes care of cross-thread invokations that would result in .NET exceptions
|
|
SetCaretPosition ( |
Sets the caret position in a text box. This is just a helper function that takes care of cross-thread invokations that would result in .NET exceptions.
|
|
SetFocus ( |
Sets focus to the control
|
|
SetFocusToDesktop ( ) : void |
Sets current focus to the desktop window
|
|
SetForegroundColor ( |
Sets the foreground color of the widget. Takes care of cross-thread invokations that would result in .NET exceptions
|
|
SetForegroundWindow ( |
Sets the fg window to the specified window
|
|
SetForegroundWindowSizePercent ( WindowPosition scannerPosition, int percent ) : void |
Sets the width of the foreground window to a certain percentage of the display monitor width.
|
|
SetFormStyles ( |
Sets the form style to not activate and also composited for better viewing experience
|
|
SetImage ( |
Sets the image in a picturebox and invalidates the picture box This is just a helper function that takes care of cross-thread invokations that would result in .NET exceptions.
|
|
SetOpacity ( |
Sets the transparency of a form This is just a helper function that takes care of cross-thread invokations that would result in .NET exceptions.
|
|
SetRegion ( |
Set region for a control
|
|
SetText ( |
Sets the text for the control. This is just a helper function that takes care of cross-thread invokations that would result in .NET exceptions.
|
|
SetTopMost ( |
Sets topmost to true
|
|
SetTrackBarValue ( |
Sets value of a tackbar as an integer Takes care of cross-thread invokations that would result in .NET exceptions
|
|
SetVisible ( |
Sets the visibility of the control This is just a helper function that takes care of cross-thread invokations that would result in .NET exceptions.
|
|
SetWindowPosition ( |
Set the window position
|
|
SetWindowPosition ( |
Set the window position
|
|
SetWindowPositionAndNotify ( |
Set window pos to the specified position and notify when window position has changed
|
|
SetWindowPositionAndNotify ( |
Set window pos to the specified position and notify when window position has changed
|
|
SetWindowSizePercent ( |
Partial maximize. Sets the window width to a percent of the display width.
|
|
Show ( |
Shows the child window, assigns parent as the owner This is just a helper function that takes care of cross-thread invokations that would result in .NET exceptions.
|
|
ShowDialog ( |
Shows the child window as a dialog of the parent window This is just a helper function that takes care of cross-thread invokations that would result in .NET exceptions.
|
|
ShowForm ( |
Shows the specified form This is just a helper function that takes care of cross-thread invokations that would result in .NET exceptions.
|
|
ShowInTaskbar ( |
Show or hide the specified form in the Windows taskbar
|
|
ShowInactiveTopmost ( |
Show the window as topmost without activating it. Sets the form's parent to parentForm
|
|
ShowTaskbar ( ) : void |
Show windows taskbar
|
|
ShowWindowBorder ( |
If show is set to true, shows the window borders and title
|
|
ShowWindowWithoutActivation ( |
Shows a window without setting focus to it
|
|
ShowWithoutActivation ( |
Sets the child's owner to parent and shows it without setting focus to it
|
|
ToggleFgWindowMaximizeAndPartialMaximize ( WindowPosition scannerPosition, int percent ) : void |
Toggles size of the fg window between maximized to partially maximized
|
|
TurnOffDPIAwareness ( ) : void |
In Win8 and Win10, there are undesirable side-effects where the scanners are scaled imporperly. Turn off DPI awareness to fix this
|
|
UnselectText ( |
Unselect text in textbox
|
Method | Description | |
---|---|---|
DeleteObject ( [ hObject ) : bool | ||
SetProcessDpiAwareness ( _Process_DPI_Awareness value ) : int | ||
closeFormThreadProc ( |
Thread proc for CloseAsync()
|
|
fadeInProc ( |
Threadproc for fade-in
|
|
fadeOutProc ( |
Thread proc for fading out
|
public static Activate ( |
||
form | form to activate | |
return | void |
public static ActivateForm ( |
||
form | form to activate | |
return | void |
public static ActivateWindow ( |
||
handle | window handle | |
return | bool |
public static ClickOnWindow ( |
||
control | the control | |
return | void |
public static CloseAsync ( |
||
form | form to close | |
return | void |
public static CloseForm ( |
||
form | Form to close | |
return | void |
public static DockWithScanner ( |
||
form | form to dock | |
scanner | scanner form to dock to | |
scannerPosition | WindowPosition | relative position |
return | void |
public static FadeIn ( |
||
form | form to fade in | |
return | void |
public static FadeOut ( |
||
form | form to fade out | |
return | void |
public static FindControlAtCursor ( |
||
form | form under the cursor | |
return |
public static FindControlAtPoint ( |
||
container | the container window | |
pos | Point | point to examine |
return |
public static GetCaretPosition ( |
||
textBox | ||
return | int |
public static GetForegroundWindow ( ) : |
||
return |
public static GetOSVersion ( ) : WindowsVersion | ||
return | WindowsVersion |
public static GetOpacity ( |
||
form | Form object | |
return | double |
public static GetScannerPosition ( |
||
form | the scanner form | |
return | WindowPosition |
public static GetSelectedText ( |
||
control | text box | |
return | String |
public static GetText ( |
||
control | ||
return | String |
public static GetText ( |
||
hWnd | window handle | |
return | string |
public static GetTrackBarValueInt ( |
||
trackBar | the trackbar object | |
return | int |
public static GetVisible ( |
||
control | ||
return | bool |
public static GetWindowTitle ( |
||
hwnd | handle to the window | |
return | String |
public static IsDesktopWindow ( |
||
handle | ||
return | bool |
public static IsMaximized ( |
||
handle | window handle | |
return | bool |
public static IsMinimized ( |
||
handle | window handle | |
return | bool |
public static IsObscuredByNonACATWindows ( |
||
windowHandle | Window to check for | |
return | bool |
public static IsObscuredWindow ( |
||
windowHandle | Window to check for | |
return | bool |
public static MaximizeWindow ( |
||
handle | window handle | |
return | void |
public static MinimizeWindow ( |
||
handle | window handle | |
return | void |
public static PostMessage ( |
||
hWnd | ||
Msg | ||
wParam | ||
lParam | ||
return | bool |
public static RestoreWindow ( |
||
handle | window handle | |
return | void |
public static SendMessage ( |
||
hWnd | ||
Msg | int | |
wparam | int | |
lparam | int | |
return |
public static SetActiveWindow ( |
||
hwnd | window handle | |
return | void |
public static SetBackgroundColor ( |
||
control | ||
color | Color | Color to set |
return | void |
public static SetCaretPosition ( |
||
textBox | ||
position | int | |
return | void |
public static SetFocus ( |
||
control | control to set focus to | |
return | bool |
public static SetForegroundColor ( |
||
control | ||
color | Color | Color to set |
return | void |
public static SetForegroundWindow ( |
||
hwnd | window handle | |
return | bool |
public static SetForegroundWindowSizePercent ( WindowPosition scannerPosition, int percent ) : void | ||
scannerPosition | WindowPosition | where to position the window? |
percent | int | the percent width |
return | void |
public static SetFormStyles ( |
||
createParams | Windows create params | |
return |
public static SetImage ( |
||
box | ||
image | Image | |
return | void |
public static SetOpacity ( |
||
form | Form object | |
arg | double | opacity value |
return | void |
public static SetRegion ( |
||
control | control to set region for | |
region | region to set | |
return | void |
public static SetText ( |
||
control | ||
text | String | text to set |
return | void |
public static SetTopMost ( |
||
form | which form? | |
topMost | bool | set to true for topmost, false otherwise |
return | void |
public static SetTrackBarValue ( |
||
trackBar | ||
positionValue | int | |
return | void |
public static SetVisible ( |
||
control | ||
visible | bool | |
return | void |
public static SetWindowPosition ( |
||
form | form to reposition | |
insertAfter | insert after this window | |
position | WindowPosition | new position |
return | void |
public static SetWindowPosition ( |
||
form | form to reposition | |
position | WindowPosition | the new position |
return | void |
public static SetWindowPositionAndNotify ( |
||
form | The form | |
insertAfter | ||
position | WindowPosition | Where to set the position |
return | void |
public static SetWindowPositionAndNotify ( |
||
form | The form | |
position | WindowPosition | Where to set the position |
return | void |
public static SetWindowSizePercent ( |
||
handle | handle of the window | |
scannerPosition | WindowPosition | which corner should the window be positioned at? |
percent | int | percentage of display monitor width |
return | void |
public static Show ( |
||
parent | ||
child | ||
return | void |
public static ShowDialog ( |
||
parent | ||
child | ||
return | void |
public static ShowForm ( |
||
form | ||
return | void |
public static ShowInTaskbar ( |
||
control | form | |
show | bool | set to true to show |
return | void |
public static ShowInactiveTopmost ( |
||
parentForm | the parent of the form | |
form | the form | |
return | void |
public static ShowWindowBorder ( |
||
form | the target form | |
show | bool | true to show border/title |
title | String | title to set |
return | void |
public static ShowWindowWithoutActivation ( |
||
form | the window form | |
return | void |
public static ShowWithoutActivation ( |
||
parent | parent form | |
child | child form | |
return | void |
public static ToggleFgWindowMaximizeAndPartialMaximize ( WindowPosition scannerPosition, int percent ) : void | ||
scannerPosition | WindowPosition | where to position the window |
percent | int | the partial maximize percentage |
return | void |
public static UnselectText ( |
||
control | the text box control | |
return | void |