Hi, How can I get the keyboard focus for a TGFileContainer object? Simply adding a HandleKey member function to the TGLVContainer class doesn't work so I guess I have to somehow get the focus of the keyboard. What I'm trying to do is basically allow multiple selection when a key(say shift or CTRL) is held down. I don't find the multiple selection by dragging a rectangle always very convenient. Also, it is not very clear to me what we are supposed to delete ourself and what is deleted automatically as there are cases where an object is adopted by another object and deleted by the latter. For instance are the frames inside a composite frame adopted by that frame and deleted by it or do we have to do it? Same for TGLayoutHints. My understanding is that we should delete everything in reverse order(children before parent) but there are instances in guitest.cxx where unamed TGLayoutHints objects are created and therefore not deleted by the user. So are they adopted by the frames? Is there a general rule that could help figure it out? Thanks for your help. Olivier
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:51 MET