mje Posted May 1, 2011 Report Share Posted May 1, 2011 I have an application which displays floating tooltip information via VI I hide/show/move as required, sort of like this: Problem being that the taskbar tends to hide the floating window. I can bound the floating VI's position to be entirely in a given monitor, but that doesn't seem to help me with things like the taskbar. Is there a way to determine the workable area I have on a monitor? I'd like to keep it native, but if someone knows the right Win32/.NET calls to make, that could work as well (I haven't done any searching on the MSDN yet). I could bound the floating box to be inside the bounds of the owning VI, but I'd rather not do that. The application's workspace is made up of several windows, so overlapping with other windows is to be expected, I just want to make sure the tooltip is readable. Regards, -m Quote Link to comment
mgunning Posted May 1, 2011 Report Share Posted May 1, 2011 The Primary Workspace property gives the bounds of the screen not including the taskbar. Quote Link to comment
mje Posted May 1, 2011 Author Report Share Posted May 1, 2011 Wow. That was...easy. I can't believe I never noticed that property was returning different bounds than the All Monitors property. Thanks. I'm kind of embarrassed about that one now! Quote Link to comment
crelf Posted May 2, 2011 Report Share Posted May 2, 2011 Do you need to have it be a VI front panel? If not, the notifyicon is the way to go - works great. 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.