Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Custom control in toolbar problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Custom control in toolbar problem

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


Joined: 22 June 2005
Status: Offline
Points: 235
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post Topic: Custom control in toolbar problem
    Posted: 22 June 2005 at 7:39am

Hi,

I tried to put some custom controls in my toolbars using the CommonControls sample but if I paste the code into my application it doesn't work!?

Apparently I am blind because I cannot see what's different between the implementations. What happens is that the control is created but the original button is still there and my created control cannot be moved or hidden. It is stuck where it was created.

What can I have missed??

Cheers,

Fredrik

Back to Top
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 235
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post Posted: 14 July 2005 at 9:05am

I upgraded to 9.70 and now it works. I did not need to change anything in the implementation. 

However I still have a problem with one of my custom controls: It is a CComboBox derived control and if the control is moved the dropdown size becomes zero.

/ Fredrik

 

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