Enum OsdMode
Whether osdText.Show waits or shows the OSD window in this or new thread.
public enum OsdMode
Remarks
If this thread has windows, any value can be used, but usually Auto (default) or ThisThread is the best.
Namespace: Au.Types
Assembly: Au.dll
Fields
Name | Description |
---|---|
Auto | Depends on process.thisThreadHasMessageLoop. If it is |
StrongThread | Show the OSD window in new thread and don't wait. Set System.Threading.Thread.IsBackground= |
ThisThread | Show the OSD window in this thread and don't wait. This thread must must be a UI thread (with windows etc). |
Wait | Show the OSD window in this thread and wait until it disappears. Waits osdText.SecondsTimeout seconds. While waiting, dispatches messages etc; see wait.doEvents. |
WeakThread | Show the OSD window in new thread and don't wait. Set System.Threading.Thread.IsBackground= |