![]() |
[SOLVED] Custom Area in Ribbon System Menu? |
Post Reply ![]() |
Author | |
shipwreck ![]() Senior Member ![]() ![]() Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
shipwreck ![]() Senior Member ![]() ![]() Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |