dpreznik 0 Light Poster

Dear experts,

Could you please tell me if it is possible to have a multiline caption for a Group Box? I have a GroupBox that uses a checkbox as a title. The style of the checkbox is set like this:

m_TitleBox.Create(strText, BS_AUTOCHECKBOX | WS_CHILD  | WS_TABSTOP, rc, this, ID_TITLE);

I tried to add BS_MULTILINE:

m_TitleBox.Create(strText, BS_AUTOCHECKBOX | BS_MULTILINE | WS_CHILD  | WS_TABSTOP, rc, this, ID_TITLE);

But it doesn't help.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.