Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - MDI Forms
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MDI Forms

 Post Reply Post Reply
Author
Message
erdogdum View Drop Down
Newbie
Newbie


Joined: 03 November 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote erdogdum Quote  Post ReplyReply Direct Link To This Post Topic: MDI Forms
    Posted: 03 November 2006 at 1:22pm
Hi,
i have a big trouble about backgrounds while using MDI forms and a commandbar together in VB.NET 2005. i can not show commandbar without code above :

(      
        Dim ctrl As Control
        For Each ctrl In Controls
            If (ctrl.GetType Is GetType(System.Windows.Forms.MdiClient)) Then
                AxCommandBars1.SetMDIClient(ctrl.Handle.ToInt32)
            End If
        Next
)

i use this code to show the commandbar, but this code prevents to show the form background image. So when i use commandbar, i cant show the background image in the Parent MDI Form.
does anyone help me?

Thanks.


Back to Top
erdogdum View Drop Down
Newbie
Newbie


Joined: 03 November 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote erdogdum Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2006 at 5:57pm
Originally posted by erdogdum erdogdum wrote:

Hi,
i have a big trouble about backgrounds while using MDI forms and a commandbar together in VB.NET 2005. i can not show commandbar without code belove:

(      
        Dim ctrl As Control
        For Each ctrl In Controls
            If (ctrl.GetType Is GetType(System.Windows.Forms.MdiClient)) Then
                AxCommandBars1.SetMDIClient(ctrl.Handle.ToInt32)
            End If
        Next
)

i use this code to show the commandbar, but this code prevents to show the background image.So when i use commandbar, i cant show the background image in the Parent MDI Form.
does anyone help me?

Thanks.


Back to Top
erdogdum View Drop Down
Newbie
Newbie


Joined: 03 November 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote erdogdum Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2006 at 5:58pm
Originally posted by erdogdum erdogdum wrote:

Hi,
i have a big trouble about backgrounds while using MDI forms and a commandbar together in VB.NET 2005. i can not show commandbar without code belove:

(      
        Dim ctrl As Control
        For Each ctrl In Controls
            If (ctrl.GetType Is GetType(System.Windows.Forms.MdiClient)) Then
                AxCommandBars1.SetMDIClient(ctrl.Handle.ToInt32)
            End If
        Next
)

i use this code to show the commandbar, but this code prevents to show the form background image. So when i use commandbar, i cant show the background image in the Parent MDI Form.
does anyone help me?

Thanks.


Back to Top
GarethThom View Drop Down
Groupie
Groupie
Avatar

Joined: 07 November 2006
Location: United Kingdom
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote GarethThom Quote  Post ReplyReply Direct Link To This Post Posted: 07 November 2006 at 5:18am
I too would like to know how to set a background picture on an MDI form.  I am using VB6 though.
 
Thanks,
G.
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 07 November 2006 at 4:13pm
Maybe you guys are looking for this?

CommandBars.TabWorkspace.ThemedBackColor = False
Back to Top
GarethThom View Drop Down
Groupie
Groupie
Avatar

Joined: 07 November 2006
Location: United Kingdom
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote GarethThom Quote  Post ReplyReply Direct Link To This Post Posted: 08 November 2006 at 9:07am
Perfect, thanks!
Back to Top
erdogdum View Drop Down
Newbie
Newbie


Joined: 03 November 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote erdogdum Quote  Post ReplyReply Direct Link To This Post Posted: 13 November 2006 at 10:58am
yeah that works a little. but still there is a problem. i can not change anything by designer (forex: backgroundcolor of mdiparentform) if i once used commandbar even i m using with or without disabling themedbackcolor property..
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.061 seconds.