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 » U++ Widgets - General questions or Mixed problems » ButtonOption has no disabled state? [solved w/ ::Disable()]
ButtonOption has no disabled state? [solved w/ ::Disable()] [message #11908] Sun, 30 September 2007 21:43 Go to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

Got ButtonOption control on my layout. Say, it`s called stopButton.
I want to make it disabled (grayed and not responding to user input).

None of this:
  • stopButton.SetEditable(false);
  • stopButton.SetReadOnly();

worked.

How to make ButtonOption disabled?

P.S. Looked into sources:
void  ButtonOption::LeftDown(Point, dword) {
	push = true;
	Refresh();
}
And it seems like there`s no checking for enabled/disabled state.

[Updated on: Sun, 30 September 2007 22:04]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is there an equivalent of win32 API "SendMessage" in U++
Next Topic: Toolbar clears after ESC key [solved, it`s the bug in user code]
Goto Forum:
  


Current Time: Wed May 15 09:22:49 CEST 2024

Total time taken to generate the page: 0.02413 seconds