y542114717 发表于 2011-5-26 10:48:43

在菜单使用loadpanel加载panel时的问题

rt在菜单使用loadpanel加载panel的时候 加载出来的panel 总是被另外一个panel挡住 如何使他显示在最上面啊? 或者是能不能改变下加载出来的panel 显示的位置免得被挡住

cvifan 发表于 2011-5-26 14:44:17

程序在哪?

cvifan 发表于 2011-5-26 14:46:54

没有程序只能猜测,你去试验一下这个labwindows的库函数。
int InstallPopup (int Panel_Handle);

cvifan 发表于 2011-5-26 14:47:15

Displays and activates a panel as a modal dialog box.You must call this function from the thread in which you create the panel.While the modal dialog box is visible, the user cannot operate any other panels that you created in the same thread.
file:///d:/program%20files/national%20instruments/cvi85/bin/libref/note.gifNoteWhile you can pass a child panel to this function, it is not recommended. Although the panel will retain its status as a child panel, it will not behave like one while it is modal, which might produce unpredictable results elsewhere in your program.

file:///d:/program%20files/national%20instruments/cvi85/bin/libref/dot.gif Prototype file:///d:/program%20files/national%20instruments/cvi85/bin/libref/dot.gifint InstallPopup (int Panel_Handle);
页: [1]
查看完整版本: 在菜单使用loadpanel加载panel时的问题