WindowUtilities.SetForegroundWindow

Force Window to the foreground. This seems to be the only reliable way to get MM to become UI active from within MM when activated externally.

public static IntPtr SetForegroundWindow(IntPtr hWnd)

Parameters

hWnd
IntPtr of the Window Handle to activate


See also:

Class WindowUtilities

© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic