Question about "groups"

BlitzPlus Forums/BlitzPlus Programming/Question about "groups"

Regular K(Posted 2004) [#1]
Why does CreateWindow() have a group parameter? I dont see the point but I may not know the full extend of it.


CS_TBL(Posted 2004) [#2]
Because you can make a subwindow .. or popup-window, if you prefer..

think of this:

app=CreateWindow("designer",0,0,640,480)

PaletteEditor=CreateWindow("edit palette",64,64,256,128,app)


skn3(Posted 2004) [#3]
Also in windows a button is essentialy the same as a window, so it makes sense to be able to parent anything to anything (although blitz wont let you do this :P)

Also if oyu had a MDI interface, you could parent a window to a panel (probably how blitz would do it) and the windows would be clipped inside the panel.


Regular K(Posted 2004) [#4]
Ah, the example CS_TBL gave, everything is normal there EXCEPT the child window, edit palette does not go into the bar at the bottom!