Jonathan Borduas Posted December 12, 2010 Report Share Posted December 12, 2010 Hi ! I'm searching a way to simply know if the Front panel is currently selected. Jonathan Quote Link to comment
jgcode Posted December 12, 2010 Report Share Posted December 12, 2010 I'm searching a way to simply know if the Front panel is currently selected. Hi Jonathan There is a property node to check the current VI: Might be worth mentioning this OpenG VI too?: Cheers -JG Quote Link to comment
ShaunR Posted December 12, 2010 Report Share Posted December 12, 2010 (edited) There is a property node to check the current VI: Jut a note. This property node only tells you if the VI is in front of other VIs. If you click on (say) your web browser, it will still say it is front most. Edited December 12, 2010 by ShaunR Quote Link to comment
Jonathan Borduas Posted December 12, 2010 Author Report Share Posted December 12, 2010 This property node only tells you if the VI is in front of other VIs.If you click on (say) your web browser, it will still say it is front most. The same thing hapens with Is.Frontmost properties if I click on the desktop. Quote Link to comment
Jonathan Borduas Posted December 12, 2010 Author Report Share Posted December 12, 2010 Does anybody have another idea ??? Quote Link to comment
Francois Normandin Posted December 12, 2010 Report Share Posted December 12, 2010 You could use the user32.dll function GetActiveWindow. Compare the hWnd pointer to the value of your front panel. 1 Quote Link to comment
Jonathan Borduas Posted December 12, 2010 Author Report Share Posted December 12, 2010 Merci François ! C'est ce que je cherchais ! Jonathan Quote Link to comment
MikaelH Posted December 12, 2010 Report Share Posted December 12, 2010 Have a look at this post as well: http://lavag.org/topic/12751-how-do-you-make-your-application-window-frontmost //Mike Quote Link to comment
ShaunR Posted December 12, 2010 Report Share Posted December 12, 2010 Does anybody have another idea ??? Here ya go Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.