This could be the answer. Check the last part of this page. Loosing Surfaces - http://www.gamedev.net/page/resources/_/technical/directx-and-xna/directdraw-programming-tutorial-r608
On Sun, Mar 4, 2012 at 1:43 PM, HariHara Sudhan <h...@emo2.com> wrote: > Hmmm. I found this as well. Seems to apply to desktop apps - > http://msdn.microsoft.com/en-us/library/windows/desktop/gg426153(v=vs.85).aspx > > > > I also read through this forum - > http://www.gamedev.net/topic/28984-handling-alt-tab-in-directdraw/ > > Seems like we have a similar situation at hand. > > Do you think we should also handle wm_activate? > > Only pain point in that case is we will need to activate the window post > screen orientation change. > > Also are there any evas functions that can be called to reinitialize the > primary surface etc? > > > I have D3D configured as well. It crashes the moment I load an image onto > the surface. Works well with lets say something like a rectangle. Does the > D3D engine work for you? > > > > > > > > > On Sun, Mar 4, 2012 at 4:12 AM, Vincent Torri <vincent.to...@gmail.com>wrote: > >> On Sat, Mar 3, 2012 at 10:03 PM, HariHara Sudhan <h...@emo2.com> wrote: >> > I found this explanation on msdn. Seems like a solution. >> > >> > http://msdn.microsoft.com/en-us/library/aa919861.aspx >> > >> > I am not sure where I should add this code. >> >> well, that's Windows CE API, not Windows XP one. >> >> Vincent >> >> >> ------------------------------------------------------------------------------ >> Virtualization & Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> _______________________________________________ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> > > > > -- > Regards > > HariHaraSudhan > > -- Regards HariHaraSudhan ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel