Hi Forest.
Your question fits better in a forum for MFC or Windows programming.
You can use the Win32 API function GetForegroundWindow to see which
window has the focus or you can use GetWindowPlacement to get the
state about a specific window.
You should also consider using "on-demand rendering"
hi all,
When I use osgMFCViewer, I create multiple rendering context,that's to
say there are many HWND, each HWND is related to one Render thread ,so much CPU
resource is taken up. This is what I want to do: When one viewport is
maximazed, the others will be hidden ,so these hidden cont
2 matches
Mail list logo