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 » ArrayCtrl, HeaderCtrl & GridCtrl » How to create sizable header columns in ArrayCtrl
Re: How to create sizable header columns in ArrayCtrl [message #2360 is a reply to message #2359] Sun, 09 April 2006 18:07 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
kevinle10@gmail.com wrote on Sun, 09 April 2006 11:36

Mirek,

I think I know what the problem is. When I put any control inside a label box, the events to those (child) controls no longer get to them. You can duplicate easily by putting an ArrayCtrl and a Button inside a LabelBox, then the column headers of the ArrayCtrl are no longer resizable and THISBACK(buttonPush) has no effect. Please take a look at this problem to make Ultimate++ the best. I like Ultimate very much. Thanks


How do you "put it inside label box"? As child? If that is the case, it simply is the feature (mouse events are ignored by LabelBox and its childs, because otherwise you would not be able to use LabelBox with sibling Ctrls). The moral of the story - never add Ctrls as LabelBox childs. Or, if you insiset on doing so, at least restore mouse processing by calling NoIgnoreMouse for LabelBox.

Dropping a couple of lines of code or even (better) testing package would really help me here to understand circumstances and fix the bug if there is any!

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ArrayCtrl - how to set tooltips? [BY DERIVING...]
Next Topic: ArrayCtrl: Difference between xx.Ctrls<EditString>() and xx.Edit(ef1)
Goto Forum:
  


Current Time: Wed Aug 06 18:27:01 CEST 2025

Total time taken to generate the page: 0.03811 seconds