Hi,
An app doesn't 'have' an hwnd, so AppHwnd is a bit meaningless. On windows, an app can have a window with the focus, an active window and I think even a foreground window (though that may be 'system wide'). The difference between these is subtle and often downright confusing.
In full screen mode, a single top-level window can have 'exclusive access' to directdraw, but in windowed mode there can be any number of windows with shared access to direct draw.
Now I'm just whining!...
An app doesn't 'have' an hwnd, so AppHwnd is a bit meaningless. On windows, an app can have a window with the focus, an active window and I think even a foreground window (though that may be 'system wide'). The difference between these is subtle and often downright confusing.
In full screen mode, a single top-level window can have 'exclusive access' to directdraw, but in windowed mode there can be any number of windows with shared access to direct draw.
Now I'm just whining!...