Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - [SOLVED] Custom Area in Ribbon System Menu?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] Custom Area in Ribbon System Menu?

 Post Reply Post Reply
Author
Message
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] Custom Area in Ribbon System Menu?
    Posted: 10 September 2010 at 12:53am
Hello Everyone!
 
I need some help here. I'm using the Ribbon interface in my application, and I also use the system menu commonly referred to as the "Start Menu". The sample shows it as a recent file list, but I was wondering if we could use it as a custom control area, similar to the way we attach a picturebox.hwnd as a control's handle in other samples.
 
To help explain what I'm trying to get at, I've attached a screenshot below:
 
 
 
And folks, if there might be a way to pull this off, please let me know something. This issue has put my entire project on hold. Any assistance will be greatly appreciated!! Thanks in advance!
Product: Xtreme Suite Pro (Active-X), Version 15.3.1

Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit)

Language: Visual Basic 6.0 SP6
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2010 at 5:17am
Hi,

Something like that

Set Control = CommandBars.CreateCommandBarControl("CXTPControlCustom")
        Control.Caption = "Recent Documents"
        Control.BeginGroup = True
        Control.Id = 0
        Control.Flags = xtpFlagWrapRow
        Control.Handle = Command1.hWnd
        .AddControl Control
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2010 at 2:30pm
Hey Oleg!
 
Thanks for that code sample, it does exactly what I'm looking for!
 
Now that that is solved, is there anyway you or anyone else could help me with some of my latter posts? About ribbon groups and the ribbon tabs?
I'd really appreciate it!
Product: Xtreme Suite Pro (Active-X), Version 15.3.1

Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit)

Language: Visual Basic 6.0 SP6
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.141 seconds.