U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Menus&Toolbars » private-ness of ToolButton::GetImage()
private-ness of ToolButton::GetImage() [message #31122] Sun, 06 February 2011 15:55 Go to previous message
galious is currently offline  galious
Messages: 28
Registered: March 2008
Promising Member
Hi,

I wanted to created a new type of toolbutton, with a button and a droplist icon next to it. Clicking the button will executed the default action, while clicking the droplist-icon will present a droplist.

While overriding the ToolButton I've encountered that 'UPP::Image GetImage() const;' is declared private.

As I've to get the size of the image in my derived class I need this to be at least protected. Is there any rationale this has been declared private?

Best regards,

Martin

[Updated on: Sun, 06 February 2011 16:15]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Tray Menu alignement bug
Next Topic: How do I create vertical toolbars
Goto Forum:
  


Current Time: Tue Apr 28 22:02:46 GMT+2 2026

Total time taken to generate the page: 0.00471 seconds