Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Owner Draw Combo Question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Owner Draw Combo Question

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


Joined: 18 October 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote MichaelD Quote  Post ReplyReply Direct Link To This Post Topic: Owner Draw Combo Question
    Posted: 18 October 2005 at 1:46pm
I have created an owner draw combo control in my toolbar following the example in the CustomThemes sample program. However, I also need to have the part in the combo's edit control be owner drawn as well (it doesn't have to be editable). Does anyone have any sample code that does this, or can you point me toward a solution or even tell me if it's possible?

Thanks in advance.
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: 18 October 2005 at 2:22pm

In 9.80 was added virtual
void CXTPControlComboBox::DrawEditText(CDC* pDC, CRect rcText)

that can be overriden.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
MichaelD View Drop Down
Newbie
Newbie


Joined: 18 October 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote MichaelD Quote  Post ReplyReply Direct Link To This Post Posted: 18 October 2005 at 4:38pm
Thanks for the quick reply, Oleg.
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.191 seconds.