 by sunfred » Feb 17, 2009 @ 1:56am
by sunfred » Feb 17, 2009 @ 1:56am 
			
			hi,my friend.
   i set config->fullscreen  = false; then the window of edgelib is changed to the position and scale that i want it to.and the panel is shown too.  after the panel shown,and the programe is running,but the code in OnNextFrame() is not executed.
   i blt 2 surfaces alternatly, but after the panel is shown,the 2 surfaces are not shown again.
the following is the code in OnNextFrame():
     static bool bAlternate =true;
	if(bAlternate )
	{
	   Sleep(1000);
	   display->buffer .BltFast(0,0,&test2,NULL);
	   bAlternate =!bAlternate ;
	}
	else
	{
	   Sleep(1000);
           display->buffer .BltFast(0,0,&test1,NULL);
	   bAlternate =!bAlternate ;
	}
    return(E_OK);