07-02-2009 07:32 AM
Hi all,
I need to run two applications in my system at same time. one of the application is labview. it is running in backside. the dialog boxes which i created in labveiew need to display in fron of all applications.... what should i do to do that.....any suggestions...
thanks in advance
Regards,
Ragu
07-02-2009 08:43 AM - edited 07-02-2009 08:44 AM
The easiest thing to do (but can be bad) is to make the LabVIEW window modal. This will make it the front most window at all times, until the program stops executing. As you can imagine if you don't have a way to close the window then you will be forced to kill LabVIEW through the taskmanager.
To make window modal go to VI Properties (by right clicking the VI's icon) go to Window Appearance, click Customize, then under Window Behavior select Modal.
The other more complicated solution is to use Dll calls to bring the window to the front.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
07-02-2009 08:58 AM
hi
i tried with modal but it's not working.Normally in modal, that LV window comes in front of other LV windows. But whether it can come in front, when LV is running behind to any other kind of applications apart from LV...
07-02-2009 09:00 AM
hi
i tried with modal but it's not working.Normally in modal, that LV window comes in front of other LV windows. But whether it can come in front, when LV is running behind to any other kind of applications apart from LV???...
07-02-2009 09:19 AM
07-03-2009 02:04 AM
hi
your reply was useful. Thanks a lot..........![]()