How to add a checkbox in a alert panel?

Discussion in 'Mac Programming' started by xiaohuli170, Aug 12, 2009.

  1. xiaohuli170 macrumors newbie

    Joined:
    Jan 13, 2009
    #1
    I want to add a checkbox in a alert panel . But now I found that the func: setShowsSuppressionButton not be used under MAX 10.5. My system version is 10.4.11 ! Which other methods I can do ? I didn't want to make a panel by my self . Thank you very much!
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Create an NSAlert as you would normally, use the window method and then you can re-size the alert window, add any NSViews you want, where you want etc.

    There is not a direct 10.4 replacement for the convenient method Apple added in 10.5: if there was they would not have added the 10.5 method.
     

Share This Page