Question about "groups"
BlitzPlus Forums/BlitzPlus Programming/Question about "groups"
| ||
Why does CreateWindow() have a group parameter? I dont see the point but I may not know the full extend of it. |
| ||
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) |
| ||
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. |
| ||
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! |