Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Focused docked window gripper
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Focused docked window gripper

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


Joined: 18 August 2003
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote gary Quote  Post ReplyReply Direct Link To This Post Topic: Focused docked window gripper
    Posted: 05 September 2003 at 3:30am
When a docked window has the focus and its style contains CBRS_XT_GRIPPER_FLAT it is quite clear to the user which window has the focus because the colour of the gripper area changes. There seems to be no visual cue when the style is not present (e.g. when the window looks like the Visual C++ "Workspace" window). Wouldn't it be nicer or the user if some indication were shown? I thought the title text could be drawn in black instead of grey or something.
Back to Top
kstowell View Drop Down
Admin Group
Admin Group


Joined: 25 January 2003
Location: MIchigan, USA
Status: Offline
Points: 496
Post Options Post Options   Thanks (0) Thanks(0)   Quote kstowell Quote  Post ReplyReply Direct Link To This Post Posted: 02 November 2003 at 1:17pm

Hi Gary,

You can accomplish this effect by overriding the DrawCaption(CDC* pDC, const CRect& rect) method for your derived CXTDockWindow class.

Cheers,
Codejock Software

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.233 seconds.