Print Page | Close Window

[SOLVED] Custom Area in Ribbon System Menu?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=17227
Printed Date: 23 November 2024 at 3:55pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] Custom Area in Ribbon System Menu?
Posted By: shipwreck
Subject: [SOLVED] Custom Area in Ribbon System Menu?
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: shipwreck
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net