How to detect exclusive mode?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi.

Is there a way for me to find out if a window is in exclusive mode?

I have an HWND to a render window and would like to know if it's either
fullscreen or windowed.

Also, the process(1) that needs to know is not the process(2) that created
the directx window. Process(1) is a service with no UI.

Thanks
.



Relevant Pages

  • Re: How add buton onto title bar of any external active window?
    ... I want to add buttons ontoany active window. ... int sm_CXSIZE; ... static int WindowsFeaturesWidth(HWND hwnd, DWORD style) ... LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM ...
    (microsoft.public.win32.programmer.gdi)
  • Re: MFC and Worker Thread issue
    ... situations such as the thread has terminated before the window was created but has no way ... CWnd* which is the message sink and it is created before the thread (with its HWND value) ... which does never see PostMessage or HWND. ... Callbacks add their own problems; I try to avoid them if at all possible. ...
    (microsoft.public.vc.mfc)
  • Re: Are VBA userforms always child of Windows desktop?
    ... I only need this Hwnd of the parent, ... GetAncestor API (with GA_PARENT) to get Parent. ... I suppose which window you need will depend on the overall objective. ... Private Declare Function GetDesktopWindow Lib "user32" As Long ...
    (microsoft.public.excel.programming)
  • Re: Why doesnt this recursive function return the right value?
    ... sClassName Like ClassName & "*" Then FindWindowHwndLike_B = hwnd lHolder = hwnd ... Couldn't find anything for the ClassName comparison. ... Dim s1 As String, s2 As String ... 'finds the first window where the class name start with ClassName ...
    (microsoft.public.excel.programming)
  • Re: Creating new appointment & setting its properties
    ... The window and process subclassing I've seen with WordMail is horrendous, it's miles of code just to get a true hWnd for a WordMail window usually. ... Private Declare Function GetForegroundWindow Lib "User32.dll" As Long ... Private Declare Function FindWindowEx Lib "User32.dll" Alias "FindWindowExA" (ByVal hwndParent As Long, ByVal hwndChildAfter As Long, ByVal lpszClass As String, ByVal lpszWindow As String) As Long ...
    (microsoft.public.outlook.program_vba)