03-25-2012 11:39 AM
Could someone have showed a embedded window on a child window?
I want to show a small embedded windows in a child window, but i failed!
I do the following:
a) Create a main window
b) Create window group, its name is "main_group"
c) Set the window color and size,post it
d) Create a child window
e) Join the child window to the parent's group
f) Create a new window 'group',its name is "child_group"
g) Set the window color and size,post it
h) Create a embedded window with type SCREEN_EMBEDDED_WINDOW
eg: screen_create_window_type(&screen_win, screen_ctx, SCREEN_EMBEDDED_WINDOW);
i) Join the embedded window to the group "child_group"
k) Set the window color and size,post it
All of the above steps are correct,not appear any error in invoking function.
Then, i wait for the event SCREEN_EVENT_POST,the main window and the child window show correctly, but i don't get any events for the embedded window, i can't show it!
Could someone help me?