Le 14 nov. 06 à 23:30 Soir, Christian Schmitz a écrit:

William Squires <[EMAIL PROTECTED]> wrote:

I'm sure this has been asked before, but...
   Is there a X-plat way of determining the height of the menu bar
given the current system font for menubars (Mac/Win)? TIA!

No.
The MenuBarHeightMBS function in my plugins does it for Mac.

Also, for free, you can also use that declare:

  dim i As Integer

  #if TargetCarbon then
    Declare Function GetMBarHeight Lib "CarbonLib" () as Integer
  #else
    Declare Function GetMBarHeight Lib "InterfaceLib" () as Integer
  #endif

  i=GetMBarHeight
  MsgBox str(i)_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to