Does anyone know how to capture a menu event on a existing EXE program?

I have figured out how to add menu Item to an existing EXE program, but I have not yet been able to figure out how to capture there events.  Any help would be greatly appreciated.

"[email protected]" <[email protected]> wrote in message news:[email protected]..
I have figured out how to add menu Item to an existing EXE program, but I have not yet been able to figure out how to capture there events.&nbsp; Any help would be greatly appreciated.
It's not entirely clear what you are trying to acieve. I think you're trying to add menu items to an exsisting exe without recompiling it, from LabVIEW. If so the following applies.
You have to hook the winproc. When a menu item is selected, windows send a message to the window's winproc. There are some API's that can be used to point the address of the winproc to another routine. This routine can do filtering, and then call the original routine.
Note that LabVIEW doesn't (or didn't until LV7) use windows menu's, so when a LabVIEW (or exe created with LabVIEW) menu item is called, windows will not send anything. That is the price for platform independency.
I think the OpenG site (or perhaps Winutils from NI) has some vi's to hook windows messages that are send to LabVIEW. Perhaps you can also use them hook another application.
Regards,
Wiebe.

Similar Messages

  • Does anyone know how to sync iCal with events from your iPod Touch?

    So I use my iPod for events more than I do with my MacBook. However I'm trying to sync iCal on my computer with the events on my iPod yet I haven't found a method that actaully works.
    Does anyone happen to know of an effective method where you can move events from your iPod to your MacBook?

    Update your Mac OSX to 10.9.3, syncing locally is back.

  • Does anyone know how to convert a Filemaker flat file to some other program that runs on Lion?

    I have a flat file of 200 recipes in Filemaker. It is searchable and prints the recipes on 4x6 cards.
    How can I get the same funtionality without getting an expensive new version of FM that runs on Lion?

    In order to password protect files or folders, you need to create an encrypted disk image. Then what ever is copied to the disk image will be protected.
    The directions to do this are here
    http://support.apple.com/kb/ht1578
    Allan

  • My movie has clips that have some extracted audio that I would like to use for the menu music in iDVD 11. Does anyone know how to do this? Copy and paste does not seem to work.

    My iMovie 11 movie has clips that have some extracted audio that I would like to use for the menu music in iDVD 11. Does anyone know how to do this? Copy and paste does not seem to work.

    I would use Quicktime Pro.
    See: QuickTime Pro: How to Extract or Disable Tracks at http://docs.info.apple.com/article.html?artnum=42596 and QuickTime Player 7 Help - Extracting, Adding, and Moving Tracks at http://docs.info.apple.com/article.html?path=QuickTime%20Player/7/en/c3qt6.html
    To get Quicktime 7.6.6 for Snow Leopard see: QuickTime Player 7.6.6 for Mac OS X v10.6.3 at http://support.apple.com/kb/DL923  (Quicktime 7.6.6 is the latest version.)
    To upgrade to Quicktime Pro see: QuickTime Player 7 Help - Getting QuickTime Pro at http://docs.info.apple.com/article.html?path=QuickTime%20Player/7/en/c2qt.html

  • Does anyone know how to default Menu navigation to open to specific folder

    Does anyone know how to default Menu navigation to be opened to a specific folder when User first log on to PEOPLSOFT with peopleTool version 8.48 or above?

    There are several notes on Oracle Support with a few options...
    E-Portal: How to Redirect a User To Specific Component Page at Login? [ID 649958.1]
    E-PORTAL: What Methods Are Available To Redirect Users To A Specific Page At Login? [ID 757458.1]
    Regards,
    Bob

  • Does anyone know how to use vlookup from a pop up menu to retrieve another pop up menu?

    Does anyone know how to use vlookup from a pop up menu to retrieve another pop up menu?

    BM,
    Pop-Up menu format is not dynamic. It is created in the Cells Inspector and can't be modified contingent upon the state of other cells.
    You could program a table to list the options available for the previous selection, but it wouldn't be in the form of a Pop-Up.
    Jerry

  • I have a late 2011 Macbook and whenever I open any application it opens only the top menu bar and no viewer windows.I always have to click cmd n to open new windows and it is quite annoying.Does anyone know how to fix this issue? Thx

    I have a late 2011 Macbook and whenever I open any application it opens only the top menu bar and no viewer windows.I always have to click cmd n to open new windows and it is quite annoying.Does anyone know how to fix this issue? Thx

    You may have more of a chance getting a quicker answer here:
    https://discussions.apple.com/community/windows_software/windows_compatibility

  • I downloaded an upgrade to my adobe reader today, and ever since my search engine has switched to yahoo and wont change back to google. I have a macbook pro, help please? Does anyone know how I can change this back? I have tried through my settings but it

    I downloaded an upgrade to my adobe reader today, and ever since my search engine has switched to yahoo and wont change back to google. I have a macbook pro, help please? Does anyone know how I can change this back? I have tried through my settings but it doesnt work

    Hi Timia,
    If you are using Safari as a web browser :-
    Open Safari, go to Safari menu > Preferences > General, and put Google as the homepage. Then, choose Google as your default search engine.
    If you are using Google Chrome as the web browser :-
      Open Google Chrome.
      In the top right corner of the page, click the Chrome menu Chrome menu > Settings.
      In the "Search" section, select Google from the drop-down menu.
    Let me know if you still experience any issue.
    Regards,
    Aadesh

  • Internal speakers are not working,  they're not showing up at all. Does anyone know how to fix this?

    My computer's speakers are not putting out sound. They worked fine yesterday, and I just now started up my computer and began using it today. The internal speakers don't show up on my list of output devices in settings, and I can't adjust the volume. Any help is really appreciated!!!

    They are all in the same folder and it says all images are there, but it is only showing 1 card's images at a time. Does anyone know how to fix this?
    This is kind of confusing, on the one hand you say "it says all images are there" and then you directly contradict this by saying "it is only showing 1 card's images at a time".
    Could you explain in a lot more detail what you see (and don't say "it", say exactly what part of Lightroom or what part of your operating system you are looking at), or show us a screen capture?

  • I keep getting the error message when trying to update iMovie There was an error in the App Store. Please try again later. (20)" Does anyone know how to fix it?

    I keep getting this error message when updating imovie "There was an error in the App Store. Please try again later. (20).  Does anyone know how to fix?

    If you're having problems with the App Store you might try this:
    1 - enable the Debug menu in App Store:
    open the Terminal application.
    copy the command below and paste into the Terminal window:
    defaults write com.apple.appstore ShowDebugMenu -bool true
    followed by Enter.
    launch App Store, login.
    2 - select the Debug ➙ Reset Application option:
    3 - try again.
    OT

  • HT1338 I have an HP Printer/scanner, and since upgrading to Mountain Lion I can no longer scan on my HP.  HP tells me that I can get an upgrade app from 'Apple Software Upgrade' .  Does anyone know how to do this?

    I have an HP Printer/scanner, and since upgrading to Mountain Lion I can no longer scan on my HP.  HP tells me that I can get an upgrade app from 'Apple Software Upgrade' .  Does anyone know how to do this?

    HP couldn't find its own apps with both hands and a flashlight.
    As of Lion all scanning functions are incorporated natively in OS X. You can scan three ways:
    Use Preview: File > Import from scanner
    Use Image Capture
    (Preview and Image Capture are both in your Applications folder.)
    System Preferences > Print & Scan. Select your HP and use the Scan tab.
    If you have HP's "Image Zone" software installed, you no longer need it and it no longer works anyway.

  • Does anyone know how to convert an XML file to a readable file?

    All,
    I have been using an APP called "SMS Backup & Restore" to backup my message conversations to my Laptop PC.  It works fine BUT the backup file, once in my PC, has an XML extent such as "filename.XML"
    I would like to read and/or print and/or save the text message file so does anyone know how to convert the XML file to something else so it shows all the messages without all the formatting instructions.   
    When I try to see the XML file it shows all the formatting.  If I replace the .XML with .TXT that too shows all the formatting mixed in with the text message narrative.
    When I look at the XML file in SMS Backup & Restore in the Charge phone it looks great showing all the messages just as they were on the phones display.  The problem with this is that there is no way to print or read or save the messages as they appear in the file from the phone itself.  I tried screen capture but if you have, let's say, a 28 message conversation you have to do 7 or 8 screen captures to get them all.
    If only I could convert the XML in my PC to something that is printable or savable or readable that would be the "cats meow."
    Anyone know how???
    JerryF
    PS, You might take a look at my related post.
    https://community.verizonwireless.com/message/809832#809832

    Ann154,
    You were correct again.  I deleted everything I had done to date and re-did the entire SMS backup of my 28 message conversation again and YES I was able to open it using IE-8.  It looks great and it prints great and life is good!  I am going to go make a donation.
    Thanks again for the help.  I marked this thread as answered by you.
    JerryF

  • I'm having problems upgrading from 10.6.8 to Yosemite.  My computer locks up after the download and installation process.  Does anyone know how I can overcome this problem?

    I'm having problems upgrading from 10.6.8 to Yosemite. My computer locks up after the download and installation process. Does anyone know how I can overcome this problem?

    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

  • Please help! We got a used Mac Mini and we don't have the former owner's password, so we can't install anything like flash player.  Does anyone know how to get around this?

    Please help! We got a used Mac Mini and we don't have the former owner's password, so we can't install anything like flash player.  Does anyone know how to get around this? I don't know how to wipe the hard drive, and the support online doesn't seem to work.

    As posted previously:
    Reinstall OS X without erasing the drive
    Do the following:
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    If installing Leopard the process is similar in some respects.  If you wish to begin anew then after selecting the target disk click on the Options button and select the Erase and Install option then click on the OK button.  To install over an existing system do the following:
    How to Perform an Archive and Install
    An Archive and Install will NOT erase your hard drive, but you must have sufficient free space for a second OS X installation which could be from 3-9 GBs depending upon the version of OS X and selected installation options. The free space requirement is over and above normal free space requirements which should be at least 6-10 GBs. Read all the linked references carefully before proceeding.
    1. Be sure to use Disk Utility first to repair the disk before performing the Archive and Install.
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger, Leopard or Snow Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now restart normally.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Do not proceed with an Archive and Install if DU reports errors it cannot fix. In that case use Disk Warrior and/or TechTool Pro to repair the hard drive. If neither can repair the drive, then you will have to erase the drive and reinstall from scratch.
    3. Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When you reach the screen to select a destination drive click once on the destination drive then click on the Option button. Select the Archive and Install option. You have an option to preserve users and network preferences. Only select this option if you are sure you have no corrupted files in your user accounts. Otherwise leave this option unchecked. Click on the OK button and continue with the OS X Installation.
    4. Upon completion of the Archive and Install you will have a Previous System Folder in the root directory. You should retain the PSF until you are sure you do not need to manually transfer any items from the PSF to your newly installed system.
    5. After moving any items you want to keep from the PSF you should delete it. You can back it up if you prefer, but you must delete it from the hard drive.
    6. You can now download a Combo Updater directly from Apple's download site to update your new system to the desired version as well as install any security or other updates. You can also do this using Software Update.

  • Does anyone know how to remove multiple wireless profiles?

    Interestingly enough, I recently setup a new computer with the same itunes library as my old computer which I moved to another part of the house. I renamed BOTH libraries from their previous names. These are both iMacs. Now, all my iOS devices (iphones/ipads/etc.) show up on BOTH and wirelessly sync to BOTH! So, I turned off wireless sync on one of the machines but the devices still show up in the menu. Also, on the devices themselves both libraries show up as available to sync. Does anyone know how to remove the wireless capabilities from one computer or device so the devices just sync with a single library?

    The instructions that are on reedcorner are great, however if you wish to do things in a simpler way; I have created an Automator workflow that can take you through the process. You can download it here: https://public.me.com/edson.ajj

Maybe you are looking for

  • Print out of report

    hi experts ,,,,   1)...i am taking the print out of report.   i given the horizantal and vertical lines...... i did not want them in output(lines).... how can i do this, any option is available. 2) how to delete the leading zeroes...   i jave number

  • How do I sort searches by project?

    I am evaluating Aperture at its new lower price and really like it apart from one thing. When I do a search in iPhoto, or create a smart album, I have the option of displaying the results organised by event. This is great as I can, for example, searc

  • TS1702 cannot purchase in app items

    Been purchasing in app items for over 3 years and probably had 4-6 times that it would not let me purchase something. normally it would take me to my account and i would have to re-add the CVC number on the back of my credit card. This time i tried p

  • I have downloaded a fake firefox update and actually installed it on my netbook. what should i do? im now currently running nod32 virus scan and antimalware on my netbook

    while i was browsing photos on google, another page just came up that said i have to update firefox and my flash player for security reasons and then a box just popped out and i clicked save file. After i installed it, i came back to the download pag

  • Query using views

    Since the query is too big, I have removed the query from the post. I would like to know whether using views in SQL queries degrade the performance of the queries? When views are used in sql queries, the operation 'FILTER' is displayed in the explain