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 » Push button by keystroke (without ALT)
Re: Push button by keystroke (without ALT) [message #29924 is a reply to message #29923] Tue, 30 November 2010 11:47 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3437
Registered: August 2008
Senior Veteran
Or this?

class MyButton : public Button {
private:
	virtual void LeftDown(Point p, dword key) {
		Button::LeftDown(p, key);		
		if (key & K_ALT)
			PromptOK("Done");	
	}
};


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to center the top most window?
Next Topic: printing RichEditWithToolBar rotated 90 degrees?
Goto Forum:
  


Current Time: Fri Jun 06 13:44:33 CEST 2025

Total time taken to generate the page: 0.04703 seconds