[Win32Lib] re-assign parent of control?
Is there a way to programmatically re-assign the parent of a control, for
instance a group control?
For instance, I have a bunch of controls which I want to put inside a
relatively small group, but only some of them at a time, selectively, and in
what would amount to be the same place in that group. So if I used the IDE,
they would all "overlap" one another as I create them visually, which makes
it hard to deal with them.
So I'm thinking I could create a large "dummy" window, make as many groups
as I need for each individual set of controls, position the controls
similarly in each of those groups, and then on program activation re-assign
ALL those groups to the "main" group. Then I could make each control or set
of controls selectively vis/invis as needed.
IF I can re-assign parentage. Can I (how)?
Dan Moyer
|
Not Categorized, Please Help
|
|