Méthode | 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
|
Méthode | 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 | |
Résultat | void |
public static ActivateForm ( |
||
form | form to activate | |
Résultat | void |
public static ActivateWindow ( |
||
handle | window handle | |
Résultat | bool |
public static ClickOnWindow ( |
||
control | the control | |
Résultat | void |
public static CloseAsync ( |
||
form | form to close | |
Résultat | void |
public static CloseForm ( |
||
form | Form to close | |
Résultat | void |
public static DockWithScanner ( |
||
form | form to dock | |
scanner | scanner form to dock to | |
scannerPosition | WindowPosition | relative position |
Résultat | void |
public static FadeIn ( |
||
form | form to fade in | |
Résultat | void |
public static FadeOut ( |
||
form | form to fade out | |
Résultat | void |
public static FindControlAtCursor ( |
||
form | form under the cursor | |
Résultat |
public static FindControlAtPoint ( |
||
container | the container window | |
pos | Point | point to examine |
Résultat |
public static GetCaretPosition ( |
||
textBox | ||
Résultat | int |
public static GetForegroundWindow ( ) : |
||
Résultat |
public static GetOSVersion ( ) : WindowsVersion | ||
Résultat | WindowsVersion |
public static GetOpacity ( |
||
form | Form object | |
Résultat | double |
public static GetScannerPosition ( |
||
form | the scanner form | |
Résultat | WindowPosition |
public static GetSelectedText ( |
||
control | text box | |
Résultat | String |
public static GetText ( |
||
control | ||
Résultat | String |
public static GetText ( |
||
hWnd | window handle | |
Résultat | string |
public static GetTrackBarValueInt ( |
||
trackBar | the trackbar object | |
Résultat | int |
public static GetVisible ( |
||
control | ||
Résultat | bool |
public static GetWindowTitle ( |
||
hwnd | handle to the window | |
Résultat | String |
public static IsDesktopWindow ( |
||
handle | ||
Résultat | bool |
public static IsMaximized ( |
||
handle | window handle | |
Résultat | bool |
public static IsMinimized ( |
||
handle | window handle | |
Résultat | bool |
public static IsObscuredByNonACATWindows ( |
||
windowHandle | Window to check for | |
Résultat | bool |
public static IsObscuredWindow ( |
||
windowHandle | Window to check for | |
Résultat | bool |
public static MaximizeWindow ( |
||
handle | window handle | |
Résultat | void |
public static MinimizeWindow ( |
||
handle | window handle | |
Résultat | void |
public static PostMessage ( |
||
hWnd | ||
Msg | ||
wParam | ||
lParam | ||
Résultat | bool |
public static RestoreWindow ( |
||
handle | window handle | |
Résultat | void |
public static SendMessage ( |
||
hWnd | ||
Msg | int | |
wparam | int | |
lparam | int | |
Résultat |
public static SetActiveWindow ( |
||
hwnd | window handle | |
Résultat | void |
public static SetBackgroundColor ( |
||
control | ||
color | Color | Color to set |
Résultat | void |
public static SetCaretPosition ( |
||
textBox | ||
position | int | |
Résultat | void |
public static SetFocus ( |
||
control | control to set focus to | |
Résultat | bool |
public static SetForegroundColor ( |
||
control | ||
color | Color | Color to set |
Résultat | void |
public static SetForegroundWindow ( |
||
hwnd | window handle | |
Résultat | bool |
public static SetForegroundWindowSizePercent ( WindowPosition scannerPosition, int percent ) : void | ||
scannerPosition | WindowPosition | where to position the window? |
percent | int | the percent width |
Résultat | void |
public static SetFormStyles ( |
||
createParams | Windows create params | |
Résultat |
public static SetImage ( |
||
box | ||
image | Image | |
Résultat | void |
public static SetOpacity ( |
||
form | Form object | |
arg | double | opacity value |
Résultat | void |
public static SetRegion ( |
||
control | control to set region for | |
region | region to set | |
Résultat | void |
public static SetText ( |
||
control | ||
text | String | text to set |
Résultat | void |
public static SetTopMost ( |
||
form | which form? | |
topMost | bool | set to true for topmost, false otherwise |
Résultat | void |
public static SetTrackBarValue ( |
||
trackBar | ||
positionValue | int | |
Résultat | void |
public static SetVisible ( |
||
control | ||
visible | bool | |
Résultat | void |
public static SetWindowPosition ( |
||
form | form to reposition | |
insertAfter | insert after this window | |
position | WindowPosition | new position |
Résultat | void |
public static SetWindowPosition ( |
||
form | form to reposition | |
position | WindowPosition | the new position |
Résultat | void |
public static SetWindowPositionAndNotify ( |
||
form | The form | |
insertAfter | ||
position | WindowPosition | Where to set the position |
Résultat | void |
public static SetWindowPositionAndNotify ( |
||
form | The form | |
position | WindowPosition | Where to set the position |
Résultat | 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 |
Résultat | void |
public static Show ( |
||
parent | ||
child | ||
Résultat | void |
public static ShowDialog ( |
||
parent | ||
child | ||
Résultat | void |
public static ShowForm ( |
||
form | ||
Résultat | void |
public static ShowInTaskbar ( |
||
control | form | |
show | bool | set to true to show |
Résultat | void |
public static ShowInactiveTopmost ( |
||
parentForm | the parent of the form | |
form | the form | |
Résultat | void |
public static ShowWindowBorder ( |
||
form | the target form | |
show | bool | true to show border/title |
title | String | title to set |
Résultat | void |
public static ShowWindowWithoutActivation ( |
||
form | the window form | |
Résultat | void |
public static ShowWithoutActivation ( |
||
parent | parent form | |
child | child form | |
Résultat | void |
public static ToggleFgWindowMaximizeAndPartialMaximize ( WindowPosition scannerPosition, int percent ) : void | ||
scannerPosition | WindowPosition | where to position the window |
percent | int | the partial maximize percentage |
Résultat | void |
public static TurnOffDPIAwareness ( ) : void | ||
Résultat | void |
public static UnselectText ( |
||
control | the text box control | |
Résultat | void |