09-01-2006 09:20 AM
09-04-2006 04:49 AM
In the days before I discovered CVI Tooltips, I used to implement a user interface help scheme by trapping EVENT_RIGHT_CLICK in all my controls/indicators, and drawing a small panel with the appropriate text and appearance, thus simulating tooltips. Given the problem that InstallPopup() generates, a similar approach might be possible. Not ideal, as this new tooltip/help panel would also have to be drawn via InstallPopup() for it to be visible above the main panel, and this in turn would then make it impossible to operate the main panel controls until the help panel has been dismissed.
Even with access to the tooltip source code (at ...\National Intruments\CVI70\toolslib\toolbox\toolbox.c) there does not seem to be an easy solution for this one. If you are ambitious you could modify the relevant toolbox code to draw the CVI tooltip panel using InstallPopup() and see what happens...
JR
09-04-2006 05:03 AM
Hello JR,
thanks for the response. Because the problem cannot be solved right away, I created a text message on my selection panel. Using extended mouse events this message shows the tooltip text when the mouse is over one of the buttons. Works fine for me
09-04-2006 06:06 AM
Great solution - the simple ones are always the best! Wonder what the chances are of me remembering this approach when I need it in six months time?
JR
03-06-2007 05:37 AM
Hi JR,
I would like to mess around in the toolbox code to manipulate the Tool Tips a litte bit Problem is: when I modify the toolbox.c file, nothing happens. How can I recompile the adjusted toolbox.c file?
03-06-2007 05:56 AM
I've never tried, but I would start by adding the local modified copy of the toolbox.c file to your project window and go from there. Probably also need to remove any previous references to the toolbox facilities that the project might already have (eg instrument /.fp files). To avoid confusion, I might also change the filenames to, say, toolbox2.c and toolbox2.h.
Good luck
03-06-2007 12:51 PM