Dear Zhiyong Zhang,
 
you found the solution of your task at 
http://www.zinnamturm.eu/downloadsAC.htm#CpcDropDown
 
You can download the subsystem CpcDropDown, read its Quick-Start document and install that subsystem. 
 
Here is a sample of the file Sample/Rsrc/Menus.odc with the menu you specified:
 
MENU "Sample"
                "Group1"               ""             "$Group1"             ""
                "Group2"               ""             "$Group2"             ""
END
 
MENU "$Group1" ("CpcDropDown.DropDown")
                "Item1"   ""             "SampleCmds.Do1"          ""
                "Item2"   ""             "SampleCmds.Do2"          ""
END
 
MENU "$Group2" ("CpcDropDown.DropDown")
                "Item1"   ""             "SampleCmds.Do3"          ""
                "Item2"   ""             "SampleCmds.Do4"          ""
END
 
An other Menus.odc sample:
 
 
MENU "SampleFile"
      "Open"                               "O"       "$Open"                                                             ""
      "Save"                                "S"       "$Save"                                                             ""
      "Exit"                                   ""          "DesktopSetup.Save; HostMenus.Exit"       ""
END
 
MENU "$Open" ("CpcDropDown.DropDown")
      "New"                                 ""          "StdCmds.New"                                               ""
      "Open..."                            ""          "HostCmds.Open"                                           ""
      "Open Stationery..."         ""          "HostCmds.OpenCopyOf"                             ""
END
 
MENU "$Save" ("CpcDropDown.DropDown")
      "Save"                                ""          "HostCmds.Save"                                           "HostCmds.SaveGuard"
      "Save As..."                       ""          "HostCmds.SaveAs"                                       "StdCmds.WindowGuard"
      "Save Copy As..."             ""          "HostCmds.SaveCopyAs"                             "StdCmds.WindowGuard"
      "Close"                               ""          "HostCmds.Close"                                          "StdCmds.WindowGuard"
END
 
Please tell me if this works as you expected.
 
Regards
 
Helmut Zinn
 
 
 
 
  _____  
Von: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
Gesendet: Dienstag, 10. Juni 2008 16:08
An: BLACKBOX{([at]})nowhere.xy
Betreff: [BLACKBOX] Second level menu in Blackbox
 
Hi Blackbox users,
I am new to blackbox and I am trying to design a menu like this
Menu
     Group1
        Item 1
        Item 2
     Group2
        Item 1
        Item 2
I have read the help document and a couple of books on Blackbox. However, I didn't find a solution yet. Any help is highly appreciated.
Thanks.
Zhiyong
       
-- 
Zhiyong Zhang
Department of Psychology
University of Virginia
Email:zz5m{([at]})nowhere.xy---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Tue Jun 10 2008 - 17:37:13 UTC