LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Macintosh application menu item


@earlevel wrote:
OK, resurrecting a two-year-old thread with the same question: How can I change "About LabView..." in my Mac application's menu to be "About MyApp...", when building a stand-alone? I've figured out how to get my About box to come up--I just need to know how to change the menu.

Thanks.




I find it hard to believe this issue is not addressed in LabView (why support a custom About box, if you can't customize the About menu item?), but after getting no answer and being unable to find anything in the documentation, I wrote an external function in C to replace the menu text.
0 Kudos
Message 11 of 24
(1,365 Views)
Hi,

Which version of LabVIEW are you using? Normally, after you build the application and use the Run-time engine to run the application, the menu shows up as About Application instead of About LabVIEW. However, in LabVIEW 8.5, it still showed up as About LabVIEW which was filed as a CAR and is being worked on by R&D.
Warm regards,
Karunya R
National Instruments
Applications Engineer
0 Kudos
Message 12 of 24
(1,362 Views)


@Karunya_R wrote:
Hi,

Which version of LabVIEW are you using? Normally, after you build the application and use the Run-time engine to run the application, the menu shows up as About Application instead of About LabVIEW. However, in LabVIEW 8.5, it still showed up as About LabVIEW which was filed as a CAR and is being worked on by R&D.





Thanks for the explanation. I'm using LabView 8.2.1, and yes, I'm seeing the problem in my application under the run-time engine; changing the menu text via C fixes it.
0 Kudos
Message 13 of 24
(1,341 Views)
Did the issue of About LabVIEW appearing in the Application Menu on the Mac get fixed? 
0 Kudos
Message 14 of 24
(1,270 Views)

gmiles@inventeering.com wrote:
Did the issue of About LabVIEW appearing in the Application Menu on the Mac get fixed? 





I just tried building an app in 8.5.1 to make sure--the answer is no.
0 Kudos
Message 15 of 24
(1,266 Views)
Is there a work around where we could call a framework to change the About LabVIEW text?

Does anyone have a 3rd party recommendation for a Install Maker for Mac OS X to make installable LabVIEW Applications?
0 Kudos
Message 16 of 24
(1,262 Views)

gmiles@inventeering.com wrote:
Is there a work around where we could call a framework to change the About LabVIEW text?

Does anyone have a 3rd party recommendation for a Install Maker for Mac OS X to make installable LabVIEW Applications?





I was already using a framework to do some custom stuff, so I set the menu this way:

//
// SetApplicationMenuTitle
//
// Work around bug in LabView by replacing "About LabView..." with our own text
//
void SetApplicationMenuTitle(char *newMenuTitle)
{
OSStatus status;
CFStringRef title = CFStringCreateWithCString(NULL, newMenuTitle, kCFStringEncodingMacRoman);
MenuRef mRef = GetMenuRef(1);
status = SetMenuItemTextWithCFString(mRef, 1, title);
CFRelease(title);
}

A style point: In OS X Apple dropped the ellipsis ("...") at the end.

I'm using Apple's installer (PackageMaker) since I've been on OS X, so I can't help you with other choices--I've used the MindVision installer (VISE) in the past.
0 Kudos
Message 17 of 24
(1,253 Views)
earlevel,

Thank for the info...


now I have to figure out how to get the mouse wheel info.

0 Kudos
Message 18 of 24
(1,248 Views)
Here are two screen shot of a little different LabVIEW Application I am developing that runs both on the PC and the Mac..




0 Kudos
Message 19 of 24
(1,245 Views)
This is another annoying thing with LabVIEW on the Mac... the native dialog box for opening and saving files has a Go to LabVIEW Folder button.

Any ideas on how to get ride of it?.... I changed the native dialog flag in Options and in the development environment it works, but not after a build app.


 
0 Kudos
Message 20 of 24
(1,225 Views)