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;



LinkBack URL
About LinkBacks



