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 » Look and Chameleon Technology » changing button image make program crash
Re: changing button image make program crash [message #18604 is a reply to message #18593] Sat, 11 October 2008 08:32 Go to previous message
mirek is currently offline  mirek
Messages: 14255
Registered: November 2005
Ultimate Member

Button::Style& ImageStyle()
{
	static Button::Style s = Button::StyleNormal();
	s.look[0] = imgs::kkk;
	s.look[1] = imgs::kkk;
	s.look[2] = imgs::kkk;
	s.look[3] = imgs::kkk;
	s.pressoffset = Point(1, -1);
	return s;
}


btn_download_all.SetStyle(imgsty);


SetStyle only stores a pointer.

Mirek
 
Read Message
Read Message
Previous Topic: Menu look correction for Vista
Next Topic: coloring menu background
Goto Forum:
  


Current Time: Fri Apr 25 08:42:10 CEST 2025

Total time taken to generate the page: 0.03245 seconds