Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - background style Ribbon in MDIForm
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

background style Ribbon in MDIForm

 Post Reply Post Reply
Author
Message
AdamSharp View Drop Down
Groupie
Groupie
Avatar

Joined: 31 March 2008
Location: Morocco
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote AdamSharp Quote  Post ReplyReply Direct Link To This Post Topic: background style Ribbon in MDIForm
    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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
AdamSharp View Drop Down
Groupie
Groupie
Avatar

Joined: 31 March 2008
Location: Morocco
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote AdamSharp Quote  Post ReplyReply Direct Link To This Post Posted: 07 May 2008 at 7:35am
Sorry I can't it's not autorized
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
younicke View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 March 2005
Status: Offline
Points: 107
Post Options Post Options   Thanks (0) Thanks(0)   Quote younicke Quote  Post ReplyReply Direct Link To This Post 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. ;)
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
AdamSharp View Drop Down
Groupie
Groupie
Avatar

Joined: 31 March 2008
Location: Morocco
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote AdamSharp Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
AndreiKr View Drop Down
Newbie
Newbie
Avatar

Joined: 03 May 2008
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndreiKr Quote  Post ReplyReply Direct Link To This Post 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.
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.156 seconds.