Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - How to change DialogBar Caption Fonr Color
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to change DialogBar Caption Fonr Color

 Post Reply Post Reply
Author
Message
Bernie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 July 2007
Location: Taiwan
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bernie Quote  Post ReplyReply Direct Link To This Post Topic: How to change DialogBar Caption Fonr Color
    Posted: 20 July 2007 at 12:56am
I created a DialogBar with the following code.
 
Two silly questions because I am a newbie:
1) How to change the Caption Font ForeColor but not to "effect" other controls' in the same CommandBars?
2) Why is there no Event provided for DialogBar?
In other words, I am not allowed to Declare a Dialog Variable together with "WithEvents"
 
Private Dialog As DialogBar
Sub Form_Load()
 
      Set Dialog = CommandBars1.AddDialogBar("答案卷", xtpBarRight)
      With Dialog
            .Closeable = False
            .Resizable = True
            .ShowGripper = False
            .EnableAnimation = True
            .ChildHandle = frmAnswerSheet.hWnd
            .SetSize 270, 100
      End With
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 July 2007 at 3:03am
Hello,
 
Yes, DialogBar doesn't have events. What events do you need ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Bernie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 July 2007
Location: Taiwan
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bernie Quote  Post ReplyReply Direct Link To This Post Posted: 20 July 2007 at 9:27am

Thanks for quick response.

I need some mouseevents to detect the moves of mouse entering or leaving the area of the dialogbar and when users Click on the Caption Popupmenu, as well as the move while the assigned control changed.

 
Can't I change the Caption Font ForeColor?
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.031 seconds.