> I'm trying to detect when native LabVIEW dialog boxes are active on a
> local PC from another background LabVIEW VI. When I say native
> LabVIEW dialog box I mean either the "One (or Two) Button Dialog"
> primitives on the block diagram functions pallet. Does anyone know a
> way to do this (ActiveX or some kind of query to the OS maybe)? I
> noticed that it doesn't show up in the profile window, that might
> provide a clue.
This won't detect specifically if a one button or two button dialog is
open, but you can use SDK functions to walk the windows and determine if
a modal window is open. I believe there are also SDK functions for
determining which window is frontmost, and you can get its title, its
style bits, etc.
The place to start is on developer
zone searching for lvwutil32.zip.
You might also want to visit the Microsoft site and read a bit on the
SDK functions for accessing children, siblings, and parents.
Greg McKaskle