U++ framework
Do not panic. Ask here before giving up.

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: 14290
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: Wed Apr 29 11:44:12 GMT+2 2026

Total time taken to generate the page: 0.01686 seconds