Possible bug found in hyperlinkctrl.c when you use the "VAL_POINTING_FINGER_CURSOR" mouse cursor in your own user interface.

Hi people, I think I found a bug in the hyperlinkctrl.c custom control, after the update/upgrade an old project CVI.

I found when I started using the "VAL_POINTING_FINGER_CURSOR" mouse in my UI, when adding a new hyperlink control.

The error is recoverable error: ' from the mouse cursor is not valid.

This error breaks in RunUserInterface (never seen anything like this before and I use CVI since version 3.1).

This happens whenever I mouse - hovering anywhere on the Panel that contains the new hyperlink control.

I also had a hack temporary to solve the problem, for now, I'll pass it along to this announcement...

The hyperlink control's source code is located in \toolslib\custctrl\hyperlinkctrl.c

The bug/problem lies in the service of reminder (of HyperLinkPanelCallback), specifically in lines 460 to 465.

This hyperlink control wants to use the VAL_POINTING_FINGER_CURSOR as its default cursor when you hover over the custom hyperlink.

However, if you already use 'VAL_POINTING_FINGER_CURSOR' in your user interface, the branch which verifies that you use what he thinks is 'his own' thread-safe mouse cursor ID, so that can reset it by using his "token concatenation" - created macro "GetTsvCursor", is not an 'else' branch to protect the picture when you actually use the cursor pointing finger... where the error that the mouse cursor is not valid. Here is the snippet of these lines.

The mouse is not over a hyperlink
If (cursor is VAL_POINTING_FINGER_CURSOR)
{
Reset the cursor to the previous cached cursor
cursor = GetTsvCursor();
errChk (SetMouseCursor (cursor));

... etc...

}

So my hack was to change the type of cursor to "VAL_CHECK_CURSOR" in place and place the cursor of "VAL_POINTING_FINGER_CURSOR" in three locations in this function, then rebuilt files x 86 and x 64.

Hey Luis, finally win a free T-shirt of LabWindows/CVI with not only have reported this bug, but also to give the precise location of the source, as well as a work around?

:^)

JB

In the meantime, I have submitted a bug with ID #545203 report to track down this problem.

-Johannes

Tags: NI Software

Similar Questions

  • Possible to force overwriting of files when you use the method. render()?

    Hello world

    Hope all are well.  I looked at the documentation available in the Guide scripts of the effects after, but could not find any information on this.  Is it possible to force overwriting of files when you call a rendering method. render() in a script?  I know there is a constant that can be used to force overwriting of .aep project files when you use the method. close() on the app object.  For example, it's documentation:

    Action to run on close. A CloseOptions enumerated value, one of:

    CloseOptions.DO_NOT_SAVE_CHANGES : Close without saving the changes. CloseOptions.PROMPT_TO_SAVE_CHANGES : Whether to save changes before closing.
    CloseOptions.SAVE_CHANGES : automatically record on the end.

    Is there something like this for managing conflicts of files during the rendering process?

    Thank you
    Arie

    That's what I do. It seems to work:

    app.beginSuppressDialogs ();

    myProject.renderQueue.render ();

    app.endSuppressDialogs (false);

    Dan

  • Need help to stop my Zoom to change when you use the integrated mouse

    I would like to know if anyone has a solution to my zoom change randomly when I use the built-in mouse. Is it possible to block the zoom so it does not change.

    Control the Touchpad settings in Control Panel.  My ASUS Netbook has a 'two fingers' feature that performs the zoom in things like IE and Word and it's pretty easy to operate inadvertently (another feature is two-finger scrolling, which I use frequently).  If your touchpad driver has such a feature, you may need off "awareness", it or turn it off.  Most modern/current notebook computer touchpad drivers have these characteristics, and many are turned on in different, often easy to do unintentionally, average.

    HAL
    --
    HAL Hostetler, TCE
    Engineer senior/UPDATED--MS MVP-Print/Imaging - WA7BGX
    www.kvoa.com - KVOA television, Tucson, AZ.
    Live Hot Licks - www.badnewsbluesband.com
  • When you use the media player, it is possible to take a song that's already torn in our library and announced another song or part of the same song at the end? kinda like a mix.

    When you use the media player, it is possible to take a song that's already torn in our library and announced another song or part of the same song at the end? kinda like a mix.

    Windows Media Player is not a Publisher.

    You can use Windows Movie Maker to split
    and combine audio files, but it works better
    If they are in the. WMA format.

    Also the free Audacity software may be worth a try:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Audacity

    http://Audacity.sourceforge.NET/

    How to split a long recording into multiple files or CD tracks?
    http://Audacity.sourceforge.NET/Help/FAQ?s=files&i=split

    How to combine two files into one longer file?
    http://Audacity.sourceforge.NET/Help/FAQ?s=editing&i=join

    How to mix songs with Audacity
    http://www.ehow.com/how_5061510_mix-songs-audacity.html

  • Tecra M5 - crashes when you use the docking station - fan at full power but no start the thread

    Hi all

    As I say, I have intermittent problems where the machine crashes when you use the docking station. Sometimes at the beginning of the startup of windows then stalls and powers of fan at full power. If I take off the base of the machine, it works fine.

    I bought this machine because I had one in my previous job and he had found great. However, my only previous also had this problem sometimes when lashing...

    Any assistance received very warmly.

    Thank you!

    Hello

    Stand by. You have noticed this behavior when the laptop is OFF, connect to the docking station and after doing this you turn. Am wrong me or have I misunderstood something?

    Maybe's external screen connected to the docking station?

  • M40X-141: black screen when you use the WiFi network

    Since I bought my M40X 141 in July 2005, I got black screen frequently when you use the wifi.

    You know this black screen with typical noise from the hard drive.

    I did all the updates without effect. The local seller understood nothing black screen, associated with the use of wifi.

    In the XP world, nobody seems to find this kind of abnormal things so I'm desperate to find a solution to stop the frequent black screens. Recently try a usb dlink wifi dongle (dwl-G122) the constant flow of black screens disappeared
    (An Xp session 10 days was previously impossible).

    Now, I know this is a bug in the original software and I try desespartely to find a patch or updated driver or professional advice.

    Is there someone here who can help a tired multi restart man to use his laptop with the original material?

    Your laptop should still be guaranteed if you bought in June 2005. Take it to your authorized Service Provider nearest and have their say. They should already provide for a procedure for this and know what to do. Sure the frequency that uses WIFI and display inverter coincides, and you get the black screen. Change them should fix this problem.

  • Loop Finder crash after upgrading to El Capitan.  'Finder close unexpectedly when you use the plug-in finder' - the message really is in Norwegian, so it may be different for the English operating system.

    'Finder close unexpectedly when you use the plug-in finder' - the message really is in Norwegian, so it may be different for the English.  The e is a compatibility issue with dropbox or Google drive in El Capitan?  Those are the plug-ins only that I could find.  Thank you very much.

    Please launch the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Step 1

    For this step, the title of the Console window should be all Messages. If it isn't, select

    SYSTEM LOG QUERIES ▹ all Messages

    in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu at the top of the screen bar.

    In the upper right corner of the Console window, there is a search box to filter. Enter the name of the application crashed or process. For example, if Safari has crashed, you would enter "Safari" (without the quotes).

    Each message in the journal begins with the date and time when it was entered. Select the messages since the time of the last fall, as appropriate. Copy to the Clipboard by pressing Control-C key combination. Paste into a reply to this message by pressing command + V.

    The journal contains a large amount of information, almost everything that is not relevant to solve a particular problem. When you post a journal excerpt, be selective. A few dozen lines are almost always more than enough.

    Please don't dump blindly thousands of lines in the journal in this discussion.

    Please do not post screenshots of log messages - text poster.

    Some private information, such as your name, may appear in the log. Anonymize before posting.

    Step 2

    In the Console window, clear the search box, and then select

    DIAGNOSIS AND diagnostic USE information reports ▹ user

    (not diagnose them and use Messages) in the list of logs on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points downwards. You will see a list of reports of incidents. The name of each report begins with the name of the process and ends with ".crash". Select the most recent report on the process in question. The content of the report is displayed at right. Allows you to copy and paste to validate all of the content, text, not a screenshot.

    I know that the report is long, perhaps several hundred lines. Please report all this anyway. If the report is only a few lines, make sure that you have disabled the search box.

    If you don't see any report, but you know, he had an accident, you have chosen diagnostic and using the list of Log Messages. INFORMATION on the USE of DIAGNOSTIC AND choose instead.

    In the interest of privacy, I suggest that, before posting, you change the UUID ' anonymous, ' a long string of letters, numbers and dashes in the header of the report, if it is present (it cannot be). "

    Please do not post other types of diagnostic report - they are very long and rarely useful.

    When you post the journal excerpt or the accident report, you might see an error message on the web page: "you have included content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • Message box color settings disabled when you use the dialog "Windows color and appearance".

    When you use the configuration dialog box 'Window color and appearance', why are there color settings invalid?  I want to remove the default 'Pastel Pink' value that I find unacceptable.

    I can switch to "Classic Windows" that uses no pastel pink color, but "Classic Windows" does not support "Aero Peek", and the windows look pretty tired.  You can only take "Classic Windows" for many years.

    Color settings are disabled for: buttons, Message box, title of Palette, scroll bar.

    Help, please!

    Me too I'm frustrated by that.   Found the old windows with very honest XP environment.   I used the advanced settings, but has not found a way to save the changes with a label, so I knew that the changes you made.   It is just Frigging trial and error and very frustrating.

    Why are there no way to return either to the default value (not found a default label) or save the settings changed under a name?    It is a productivity KILLER.

    Hello

    Interface user of Windows 7 is theme based. The colors are defined by the theme.

    You still have many color options that can be used to change the colors.

    Right click on the desktop and select Personalize. Click on the color of the window at the bottom of the window box.

    You can select one of the colors in the boxes colored at the top.

    Adjust the intensity of the color with the cursor.

    Click on the color down mixer and you can a lot of variations on all the different color choices.

    I hope this helps.

    Thank you for using Windows 7

    Ronnie Vernon MVP
  • Move the point of origin when you use the scale tool

    Hello

    Can someone tell me if it is possible to move the point of origin when you use the scale tool? By default, when I change by dragging an anchor of the corner, the opposite corner is used as the origin. Ideally, I would like to to scale using an origin that is biased, I can specify sort. I know that you can do during the rotation, but I was not able to determine if this goal is achievable during the measurement. I use Illustrator CC 2015.3.1 and Mac.

    Any help would be appreciated.

    Thanks in advance

    Jason

    Click where you want the origin to be. Or move the reticle. Exactly the same as with the rotation tool.

  • Preview screen turns black when you use the slider to soften ultra key

    Hello

    I'm working on a video, including a greenscreen. That is why I use the ultra key to make the transparent green screnscreen. Whenever I touch the slider "soften" Ultra key, windos preview blackens. I can't get it back to normal until I restart the first. Version 2015.4.

    This issue is being investigated. So far it has been reproduced with acceleration GPU on Windows. What is the case on your system? Also, could you provide your operating system, graphics card and if you use CUDA or OpenCL?

    A possible solution is to go into project settings > General and set the Mercury Playback Engine software only, when you use the parameter to soften.

    Thank you.

  • CC 2015 Illustrator crashes when you use the function "save for Web".

    CC 2015 Illustrator crashes when you use the function "save for Web".

    Hello

    We have published a 19.0.1 hotfix that resolves this problem in discussion on this topic. Please apply the patch to your creative cloud application. The creative cloud application checks the update once a day, so you may see the update immediately.  If you want to force the check for an update at the beginning please logout and log back into the creative Cloud application.

    Link to 19.0.1 release notes: https://helpx.adobe.com/illustrator/kb/illustrator-cc-2015-crash-bug-fixes-19-0-1.html

    Kind regards

    Ashutosh

    The name of the Illustrator team engineering

  • Firefox does not open after the update. Cannot open the profile technical, even when you use the directory in cmd line path

    I'm using Firefox on a Windows 7 computer. Firefox does not open after the last update. I read the help articles and it seems that I need to create a new profile because my settings were probably corrupted. I'm unable to open the profile technical, even when you use the directory in cmd line path. I tried the following commands in the command line:

    Firefox Pei
    "C:\Program Files (x 86) \Mozilla" PEI

    Nothing happens with every order.

    I am also running Norton Internet Security. I read a help of virtual navigation features Re article that can cause a problem. The article says to check the setting of virtualization in the internet security software and to clear the virtual cache. I went through all the menus of settings in Norton Internet Security version 21.6.0.32 and I don't see anything that looked like in "virtualization" settings, so I guess that does not apply to me. "

    If you have any ideas, I had appreaciate that your expertise!

    Hello arcandl, at the launch of the firefox is not after you double-click the shortcut, it is sometimes also a sign of active malware on a system.
    you might want to try running a scan with some various other security like the free version of malwarebytes and adwcleaner tools that are specialized to remove the adware and browser hijackers.

    Fix Firefox problems caused by malicious software

  • How to enter the character ü when you use the pinyin keyboard?

    How can I enter the character u when you use the pinyin-simplified keyboard, for example, for the opening of the syllable nu with your 3.

    The keyboard pinyin-simplified is for entering the characters han, not latin.  If you want to type the latin pinyin, you must use the extended ABC keyboard configuration.  A list of the shortcuts is to

    http://symbolcodes.TLT.PSU.edu/accents/codemacext.html

  • Is cell required when you use the map applications of conduct?

    Is cell required when you use the map applications of conduct?

    Yes. GPS does not work with a Wi - Fi connection.

  • WHEN YOU USE THE CONSTRUCTOR OF MY SITE, I CAN'T COPY AND PASTE WROTE THE BROWSER SECURITY SETTINGS HOW TO NOT CHANGE THESE FOR ME TO COPY / PASTE?

    WHEN YOU USE THE CONSTRUCTOR OF MY SITE, I CAN'T COPY AND PASTE WROTE THE BROWSER SECURITY SETTINGS HOW TO NOT CHANGE THESE FOR ME TO COPY / PASTE?

    https://support.Mozilla.com/en-us/KB/granting+JavaScript+access+to+the+Clipboard

    This extension will help you implement the security policies for access to the Clipboard.

    Allow the extended Clipboard support:

    https://addons.Mozilla.org/en-us/Firefox/addon/852

Maybe you are looking for

  • I can't turn off the location-aware feature in Firefox 4.

    I tried the technique suggested for Firefox 3.6 and the browser continues to display my ads tailored to my place. If I can't turn this off, I'll move from browsers.

  • Rename a module of my project entry, but I can't rename it again see the error

    I renamed an entry from my project ni9425 but when I tried to rename again, and then deploy it an error appear IAK_SHARED (not found) 0x8ABC700A, What can I do to rename in keet and organized code project? Thanks for the support Heinz

  • Cannot access the main part of the hard drive

    I am running xp Media Center on a Dell Inspiron E1505.  I wanted to be able to boot XP or 7 so I created a partition 6 GB and loaded with Windows 7.  I did not assign a letter to the partition.I am only able to boot Windows 7 and my HDD shows that 6

  • How to reconnect to the device plugged in USB after having ejected?

    I have a 2 to USB external hard drive for occasional storage of large rarely used files. In order to keep the analysis daily antivirus come completely bogged down when it hits that drive (no new files recently added anyway), I have to use the option

  • Fingerprint error Lenovo X 230

    I've updated X 230 hard drive and installed OS from a backup, my impression was working fine after the upgrade on 3 months after that fingerprints just started giving E7210005 error (no enrolluser, can not be updated passport, can't find the sensor p