This site is no longer active and is available for archival purposes only. Registration and login is disabled.

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


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

Postby sunfred » Feb 16, 2009 @ 8:51am

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?
sunfred
pm Member
 
Posts: 11
Joined: Nov 7, 2008 @ 4:53am


Postby edge » Feb 16, 2009 @ 12:45pm

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.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby 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);
sunfred
pm Member
 
Posts: 11
Joined: Nov 7, 2008 @ 4:53am


Postby edge » Feb 18, 2009 @ 8:29am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron