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

Process inside EDGE lib messages


Process inside EDGE lib messages

Postby maskin » May 23, 2009 @ 8:40am

maskin
pm Member
 
Posts: 32
Joined: Dec 8, 2006 @ 10:06am


Postby maskin » May 25, 2009 @ 1:57pm

Is my question really hard or nobody knows how to do own modal windows that not based on standart controls?
maskin
pm Member
 
Posts: 32
Joined: Dec 8, 2006 @ 10:06am


Postby edge » May 26, 2009 @ 12:33pm

Hi Maskin,

If you'd like to create your own windows controls, we recommend using the existing EDGELIB framework and window as a base. To handle window messages, implement the OnNativeEvent callback, as described here: http://www.edgelib.com/index.php?node=1146
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 Kzinti » May 26, 2009 @ 6:41pm

He doesn't want to create a window control, he wants to control the message loop.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby maskin » May 27, 2009 @ 6:04am

maskin
pm Member
 
Posts: 32
Joined: Dec 8, 2006 @ 10:06am


Postby edge » May 27, 2009 @ 9:27am

I don't know why you want to control the message loop, but you could implement your loop in the first OnNextFrame call of the EDGELIB framework. Make sure to flip the display manually and include a few Sleep calls to make sure it doesn't use 100% of your processor.
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 maskin » May 28, 2009 @ 12:30pm

maskin
pm Member
 
Posts: 32
Joined: Dec 8, 2006 @ 10:06am


Postby edge » Jun 2, 2009 @ 7:15pm

Hi Maskin,

Can you tell me why OnNativeMessage wouldn't work? You could also directly use the window handle and message information when you are implementing your own message loop in OnNextFrame.
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 maskin » Jun 3, 2009 @ 9:41am

maskin
pm Member
 
Posts: 32
Joined: Dec 8, 2006 @ 10:06am


Postby edge » Jun 4, 2009 @ 6:31pm

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