FROM : Gurmit Teotia
DATE : Wed Jun 21 16:58:11 2006
As a workaround to above problem I'm planning not to give the click facility
to remote user on the menu of my application. To implement the above
technique I need to know the height of menu bar. I found two methods:
1. [NSMenuView menuBarHeight];
2. [[NSApp mainMenu] menuBarHeight];
First method is deprecated in 10.4 while second method is always returning
0.0. From list I found that second method has some bug. My application will
be compatible from 10.2. Can some one suggest a solution to get the height
of menu bar? I cann't hide the menu bar/ dock bar in my application.
With regards,
Gurmit
DATE : Wed Jun 21 16:58:11 2006
As a workaround to above problem I'm planning not to give the click facility
to remote user on the menu of my application. To implement the above
technique I need to know the height of menu bar. I found two methods:
1. [NSMenuView menuBarHeight];
2. [[NSApp mainMenu] menuBarHeight];
First method is deprecated in 10.4 while second method is always returning
0.0. From list I found that second method has some bug. My application will
be compatible from 10.2. Can some one suggest a solution to get the height
of menu bar? I cann't hide the menu bar/ dock bar in my application.
With regards,
Gurmit






Cocoa mail archive

