Archive: SectionGroup expanded permanently


SectionGroup expanded permanently
How can I make SectionGroup expanded permanently (user can't fold it)? I try to do this via restoring SF_EXPAND flag in ".onMouseOverSection" callback, but without any effect (flag is set but window is not redrawn).


P.S. Sorry for bad english


SectionGroup /e


i think he wants it permanent. you could try SectionSetFlags in .onSelChange (not tested that, MIGHT work ;) )


Yes, I want it permanent.
But there are no callbacks to control SectionGroup folding. .onSelChange is used only when user clicks any components element.
imho SF_EXPAND is readonly flag and I had to use SendMessage (but messages for TreeView control is not defined)
sad but true :(