Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Why is a groupbox built from a Button control ?

9 views
Skip to first unread message

R.Wieser

unread,
May 8, 2013, 5:30:11 PM5/8/13
to
Hello All,

Just this week my eye fell on something that I can not quite figure out: A
GroupBox is a Button control with the BS_GROUPBOX style set. As a groupbox
it does not seem to respond to keypresses or mouseclicks. It behaves like
its a static control.

So, why didn't they just use a Static control for it instead ? Or have I
missed something that a GroupBox can do that needs its Button-control roots
?

Regards,
Rudy Wieser



David Lowndes

unread,
May 8, 2013, 5:36:23 PM5/8/13
to
You'd probably need to ask someone who worked on Windows 1 to answer
it definitively - or at least someone with access to the Windows
source code.

Dave

JJ

unread,
May 8, 2013, 7:22:09 PM5/8/13
to
It's a matter of predefined control library. Each have its own predefined
purpose. It's the software developer's god attitude of "Here. We made these
for you. Use it or customize it as you see fit. Otherwise, make your own
controls." And you just tasted some of the forbidden fruits.

R.Wieser

unread,
May 9, 2013, 4:24:09 AM5/9/13
to
Hello JJ,

> It's the software developer's god attitude of "Here. [...]
> And you just tasted some of the forbidden fruits.

I got the feeling that it had something to do with a throw of some dice too,
but just wanted to make sure I did not miss something obvious. Thanks for
(prettymuch) confirming I didn't. :-)

Regards,
Rudy Wieser


-- Origional message
JJ <d...@nah.meh> schreef in berichtnieuws
1edpzxef8qag0$.fbz5ud6zbw8v.dlg@40tude.net...

R.Wieser

unread,
May 9, 2013, 4:24:35 AM5/9/13
to
Hello David,

> You'd probably need to ask someone who worked on
> Windows 1 to answer it definitively

Quite likely, yes. Its just that I wanted to make sure that I did not
overlook some obvious usage of a GroupBox (that needed some interaction a
Button control provides). Your answer indicates to me it isn't (anything
obvious). Thanks.

Regards,
Rudy Wieser


-- Origional message:
David Lowndes <Dav...@example.invalid> schreef in berichtnieuws
18hlo8piksn7ei1gq...@4ax.com...
0 new messages