hi!
i start a thread from a sdi-application (mfc) and
want to run gapidraw inside.
everything is ok. but my main problem is that
i get the adress of the mainwindow(from sdi-
application) but not the window.so i cannot clear the window when i blit backbuffer.
m_ParentFrame = AfxGetMainWnd()->GetSafeHwnd();
.
.
hr = m_display.OpenDisplay(m_ParentFrame, GDOPENDISPLAY_FULLSCREEN);
maybe someone can help me.
thanks w.
i start a thread from a sdi-application (mfc) and
want to run gapidraw inside.
everything is ok. but my main problem is that
i get the adress of the mainwindow(from sdi-
application) but not the window.so i cannot clear the window when i blit backbuffer.
m_ParentFrame = AfxGetMainWnd()->GetSafeHwnd();
.
.
hr = m_display.OpenDisplay(m_ParentFrame, GDOPENDISPLAY_FULLSCREEN);
maybe someone can help me.
thanks w.