Thread: Device->SetDialogBoxMode(true);

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    319

    Device->SetDialogBoxMode(true);

    for some reason i am unable to see any child windows if i call this device member , in msdn it cleary says i should be able to view gdi windows on the device , i have all the param settings set


    d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD;
    d3dpp.Flags=D3DPRESENTFLAG_LOCKABLE_BACKBUFFER;
    d3dpp.BackBufferFormat = D3DFMT_X8R8G8B8;

    in wndproc i have

    Code:
    case WM_CREATE:
    			
    	    hmodule = GetModuleHandle(0);
    
    		Child = CreateWindowEx(NULL,
                              "BUTTON",
                              "test",
                              WS_CHILD | WS_VISIBLE ,
                              40,30,
                              50, 60,
                              hWnd,
                              NULL,
                              hmodule,
                              NULL);
    		break;

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    That may only apply to dialog boxes. I would not recommend mixing GDI windows with Direct3D.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Identify dynamic IP address of network device
    By BobS0327 in forum Tech Board
    Replies: 2
    Last Post: 02-21-2006, 01:49 PM
  2. Device Driver: sysfs confusion
    By filker0 in forum Linux Programming
    Replies: 0
    Last Post: 12-02-2005, 11:36 AM
  3. Modem in Linux need help fast please!
    By xxxrugby in forum Tech Board
    Replies: 0
    Last Post: 03-30-2005, 04:10 PM
  4. Replies: 4
    Last Post: 06-30-2004, 03:11 PM
  5. Device problem
    By John22 in forum C Programming
    Replies: 0
    Last Post: 12-19-2002, 12:02 PM