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 » What is ParentCtrl?
Re: What is ParentCtrl? [message #19991 is a reply to message #19898] Sun, 08 February 2009 08:23 Go to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
White_Owl wrote on Fri, 30 January 2009 10:42

Oh... So ParentCtrl is actually a container which does not receive mouse messages? I think, I got it...


Actually, mrjt got it wrong, it in fact DOES receive mouse messages (but usually, they are just ignored).

ParentCtrl::ParentCtrl()
{
	NoWantFocus();
	Transparent();
	minsize = Null;
}


Really, the main purpose is that you need something to group widgets occassionally and that thing has to be Transparent (because there is usually something behind) and it must not get focus when pressing K_TAB.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to define hot-keys not associated with any menu?
Next Topic: EditString validation
Goto Forum:
  


Current Time: Sat Jun 07 18:07:29 CEST 2025

Total time taken to generate the page: 0.04291 seconds