Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Own CStatic with Codejock border
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Own CStatic with Codejock border

 Post Reply Post Reply
Author
Message
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 516
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Topic: Own CStatic with Codejock border
    Posted: 05 February 2007 at 11:02am
Hello,

How can i create a derived from CStatic, that use Codejock Border style.
i will use the same style how CEdit.
Must work with WinXP style, Wind2000 and SKINFramework.
Or can Codejock add a CStaticBase class.
That will be nice.
Also add for every MFC GUI Control a Codejock Base class.

  Jimmy

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 05 February 2007 at 11:24am
Hi,
you can draw borders with dc.Draw3dRect method and get color using GetXtremeColor(XPCOLOR_STATICFRAME)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.047 seconds.