Page 1 of 1

Process inside EDGE lib messages

PostPosted: May 23, 2009 @ 8:40am
by maskin

PostPosted: May 25, 2009 @ 1:57pm
by maskin
Is my question really hard or nobody knows how to do own modal windows that not based on standart controls?

PostPosted: May 26, 2009 @ 12:33pm
by edge
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

PostPosted: May 26, 2009 @ 6:41pm
by Kzinti
He doesn't want to create a window control, he wants to control the message loop.

PostPosted: May 27, 2009 @ 6:04am
by maskin

PostPosted: May 27, 2009 @ 9:27am
by edge
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.

PostPosted: May 28, 2009 @ 12:30pm
by maskin

PostPosted: Jun 2, 2009 @ 7:15pm
by edge
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.

PostPosted: Jun 3, 2009 @ 9:41am
by maskin

PostPosted: Jun 4, 2009 @ 6:31pm
by edge