Hello
I've made several tests on the different ways it is possible to display a popup panel with CVI.
1.
panelHandle = LoadPanel (parentpanelHandle, "panel.uir", PanelName);
DisplayPanel(panelHandle);
=> panel "draggable"(panel drawing is not updated since the mouse button is not released) without freezing the main panel, drawback : the main panel is still active on click events. The "popup" panel hasn't got the windows' window style.
2.
panelHandle = LoadPanel (parentpanelHandle, "panel.uir", PanelName);
InstallPopup(panelHandle);
=> freezes the main panel when dragging the window but main panel is inoperable and got the windows style
3.
panelHandle = LoadPanel (0, "panel.uir", PanelName);
DisplayPanel(panelHandle);
=> freezes the main panel when dragging the window and the top position is lost when clicking on the main panel.
got the windows style
In fact the only popup that works and looks correctly (as i would like

) is the FileSelectPopup().
Yop!
DanY
Message Edité par Dany27 le 05-18-2006 04:35 AM
Message Edité par Dany27 le 05-18-2006 04:36 AM