Group boxes

Archives Forums/Win32 Discussion/Group boxes

Picklesworth(Posted 2005) [#1]
More gui questions.

How do I create a group box control with win32? It seems that for some evil reason it is built specifically with classes in mind, and I am using b3d. Since it is an object that does nothing, it seems silly that it isn't just a window style. So... How can I get a group box/group box-looking thing?


Kev(Posted 2005) [#2]
create a button using BS_GROUPBOX for example.

Const BS_GROUPBOX = $7

group = apiCreateWindow(0,"BUTTON",title$,WS_CHILD Or WS_VISIBLE Or BS_GROUPBOX Or styleType ,x,y,width,height,group,0,apiGetModuleHandle(0),0)


Picklesworth(Posted 2005) [#3]
Thank you!

Wow, that's a weird place for them to put that.