Print Page | Close Window

background style Ribbon in MDIForm

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=10536
Printed Date: 30 May 2024 at 6:45am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: background style Ribbon in MDIForm
Posted By: AdamSharp
Subject: background style Ribbon in MDIForm
Date Posted: 07 May 2008 at 5:30am
Hello, I have a problem when I try to show the background style Ribbon in MDIForm
Like you see the background applied in the Pane! and not in the MDI form!
'this is the Code :
Private Sub PictureBackground_Paint()
    CommandBars.PaintManager.FillWorkspace PictureBackground.hdc, 0,  
0,PictureBackground.Width, PictureBackground.Height
End Sub
 
Private Sub CommandBars_Resize()
    
    Dim Left As Long
    Dim Top As Long
    Dim Right As Long
    Dim Bottom As Long
   
    CommandBars.GetClientRect Left, Top, Right, Bottom
   
    PictureBackground.Move Left, Top, Right - Left, Bottom - Top
End Sub



Replies:
Posted By: Aaron
Date Posted: 07 May 2008 at 6:19am
Hi,
 
Is it possible to upload project?


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: AdamSharp
Date Posted: 07 May 2008 at 7:35am
Sorry I can't it's not autorized


Posted By: Aaron
Date Posted: 07 May 2008 at 9:12am
Hi,
 
*    I only wanted to see how you create the pane and attach it.
*    Did you set DockingPane.Options.HideClient to false?
*    Did you set DockingPane.SetCommandBars Me.Commandbars?
 
It's very difficult when I don't see anything.
 
Option:
You could delete all unwanted code and just the code which will create the Ribbonbar,picturebox and pane.
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: younicke
Date Posted: 07 May 2008 at 9:42am
i dont think its possible to paint the client area of the mdi form.
it has been asked many times but there has been no definite answer.

maybe im wrong. ;)


Posted By: Aaron
Date Posted: 07 May 2008 at 11:08am
Originally posted by younicke younicke wrote:

i dont think its possible to paint the client area of the mdi form.
it has been asked many times but there has been no definite answer.

maybe im wrong. ;)
 
Hi,
 
I think you are right about this. I wasn't paying attention this was about a MDI
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: AdamSharp
Date Posted: 07 May 2008 at 11:49am
Originally posted by Aaron Aaron wrote:

 
Hi,
 
I think you are right about this. I wasn't paying attention this was about a MDI
 
 
 
That what I taught ! not possible in a MDI form,
thanks friends


Posted By: AndreiKr
Date Posted: 09 May 2008 at 3:27am
Backgraund picture used MS Word, but MS Word is SDI Application. For example, MS Access 2007 is MDI application. Did You see any pictures in MS Access Background? I think, it's normally.



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