Lefora Free Forum
login join

User Profile

admin actions

Warn | Set Level | Remove [Display email for admins only]

send a private message

crhis

None

level: member
rank: rookie
posts: 2
member For: 8 months, 1 week

Other Forums


admin of 0 forums moderator of 0 forums member of 1 forums
cocoa

Latest Posts

8 months, 1 week ago

[joypad] device driver like

Someone know if is possible to control the joypad buttons (like left, right, up...) with a mac or other framework ???
Iam asking for a method to perform the action of buttons pressed...

-Crhis.

8 months, 1 week ago

Re: Cocoa change main menu

NSApplication has a method:

-(void)setMainMenu:(NSMenu *)aMenu

You can pass it a reference to the correct menu in the appropriate window controller, by implementing 

-(void)windowDidBecomeKey:(NSNotification *)notification.

Keep in mind it may be easier to change just the submenus instead of swapping out the entire main menu, since you won't have to maintain two different copies of the application, help, and other menus that won't change between the two windows.