Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » How to display an icon on the right side of a label/button
Re: How to display an icon on the right side of a label/button [message #3893 is a reply to message #3892] Thu, 06 July 2006 22:51 Go to previous messageGo to previous message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
don't know wether the first suggestion works, but i am sure it works with deriving and rewriting Paint()

in Button::Paint a DrawLabel 'dl' is created an painted, just add the following instruction:
dl.align =  ALIGN_RIGHT 


best would be to add align as a private Member to Button class and add get/set methods and in the Paint method set dl.align as the private align member.


[Updated on: Thu, 06 July 2006 22:54]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to #define/#include correctly the .iml file
Next Topic: How to Draw a couple of lines over an ArrayCtrl
Goto Forum:
  


Current Time: Tue May 21 10:08:18 CEST 2024

Total time taken to generate the page: 0.01368 seconds