Yann Guichoux wrote:
>
Hi,
I've got a problem with the fl_addtopup() function...
here is a piece of code where i create my menu:
extern int menuId;
menuId=fl_newpup(fl_get_real_object_window(fl_menu));
fl_addtopup(menuId,"mickey | donald");
fl_set_menu_popup(fl_menu,menuId);
.
.
.
.
when i click on fl_menu, it works fine, I get a nice menu.
the problem apears when i use the fl_addtopup () function a second time
(after the menu has already been displayed...)
if i do this :
fl_addtopup(menuId,"dingo");
and i click on fl_menu, it only displays the items "mickey", "donald",
and a little part of "dingo"
what's wrong whith my code ?
thanks for any help .
YG
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/