background style Ribbon in MDIForm |
Post Reply |
Author | |
AdamSharp
Groupie Joined: 31 March 2008 Location: Morocco Status: Offline Points: 38 |
Post Options
Thanks(0)
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 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
AdamSharp
Groupie Joined: 31 March 2008 Location: Morocco Status: Offline Points: 38 |
Post Options
Thanks(0)
|
Sorry I can't it's not autorized
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
younicke
Senior Member Joined: 11 March 2005 Status: Offline Points: 107 |
Post Options
Thanks(0)
|
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. ;) |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
AdamSharp
Groupie Joined: 31 March 2008 Location: Morocco Status: Offline Points: 38 |
Post Options
Thanks(0)
|
That what I taught ! not possible in a MDI form,
thanks friends
|
|
AndreiKr
Newbie Joined: 03 May 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
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.
|
|
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 |