Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - SOLVED:I can't make extend sub menu,plz guide me
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED:I can't make extend sub menu,plz guide me

 Post Reply Post Reply
Author
Message
unforgiven View Drop Down
Groupie
Groupie
Avatar

Joined: 24 February 2010
Location: Neverland
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote unforgiven Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED:I can't make extend sub menu,plz guide me
    Posted: 09 March 2010 at 2:22am
Hi all
I got problem to create sub extend menu.
i attached one sample create menu that i made,please take a look that and trim this code,more explaine wrote in the code
thanks all

20100309_021856_Project.rar
Back to Top
gibra View Drop Down
Senior Member
Senior Member


Joined: 31 October 2008
Location: Italy
Status: Offline
Points: 288
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibra Quote  Post ReplyReply Direct Link To This Post Posted: 10 March 2010 at 8:02am
What is the problem?
Explain ...
gibra
CJ SuiteControl v: 13.x to 19.x
Windows 10 64bit
VS2019 - VB6.0 SP6
<a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8
Back to Top
unforgiven View Drop Down
Groupie
Groupie
Avatar

Joined: 24 February 2010
Location: Neverland
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote unforgiven Quote  Post ReplyReply Direct Link To This Post Posted: 10 March 2010 at 9:51am
Hi Gibra
In the goto menu , i want to extent sub menu option1 and option2

Let me show you in this way :

File
Open
Goto >> Option1
      >> Option2

i don't know how cant i create option1 and option2 for Goto
please make it for me

thank you very much
Back to Top
cmm2006 View Drop Down
Senior Member
Senior Member


Joined: 26 September 2006
Status: Offline
Points: 118
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmm2006 Quote  Post ReplyReply Direct Link To This Post Posted: 10 March 2010 at 2:04pm

I don't know what are you looking for, but check the sample

Language: Visual Basic 6 SP6
OS: Windows XP Pro SP3
Product: Codejock Xtreme SuitePro 13.1
Back to Top
unforgiven View Drop Down
Groupie
Groupie
Avatar

Joined: 24 February 2010
Location: Neverland
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote unforgiven Quote  Post ReplyReply Direct Link To This Post Posted: 10 March 2010 at 3:14pm
Dear cmm2006 thanks for your attention
it was exactlly what i need,wish you trim my samples .
one question: what's deffrent between those code ?
i use this to make menu

Set ControlFile = AddButton(CommandBars.ActiveMenuBar.Controls, xtpControlPopup, ID_MENU_FILE)
    With ControlFile.CommandBar
             
        AddButton .Controls, xtpControlButton, ID_FILE_Optimizetools
        AddButton .Controls, xtpControlButton, ID_FILE_Userman, True
        AddButton .Controls, xtpControlButton, ID_FILE_Resetdatabase, True
        AddButton .Controls, xtpControlButton, ID_FILE_Printersetting, True
        AddButton .Controls, xtpControlButton, ID_FILE_EXIT, True
    
    
End With

and you use this :

Set ControlView = CommandBars.ActiveMenuBar.Controls.Add(xtpControlPopup, 0, "&View")
    With ControlView.CommandBar.Controls
        Set Control = .Add(xtpControlPopup, 0, "&Toolbars")
        Control.CommandBar.Controls.Add xtpControlButton, ID_VIEW_TOOLBAR_STANDARD, "&Standard"
       
    End With

thanks agian for reply
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.137 seconds.