Page 1 of 1

how to use SIP input method in edgelib?(windows mobile)

PostPosted: Feb 16, 2009 @ 8:51am
by sunfred
in OnDisplayInit(),i call SipShowIM(SIPF_ON) to show the input panel. in OnInit() ,i call MoveWindow()to change the edgelib window's position and scale. now,the SIP panel can show under the window of edgelib.but the code in OnNextFrame() can not run correctly.(the code is not run).
how should i do to let it run correctly?

PostPosted: Feb 16, 2009 @ 12:45pm
by edge
Hi Sunfred,

The correct way to do this is to set the fullscreen option to false in the OnDisplayConfig() callback function. This will enable the start button and keyboard. Also make sure you create and set the menu in the OnDisplayConfig() callback.

PostPosted: Feb 17, 2009 @ 1:56am
by sunfred
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);

PostPosted: Feb 18, 2009 @ 8:29am
by edge