BCGSoft Forums
BCGSoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 BCGControlBar Pro for MFC Forums
 BCGControlBar Professional Edition
 Static text

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Insert Smilie

* Forum Code is ON


T O P I C    R E V I E W
Nick7K Posted - 06/14/2022 : 04:38:35 AM
I searched, but couldn't find an answer.

Often static text (IDC_STATIC) in dialogs and property pages is clipped unless we manually make the size larger than the default.

Is there a recommended solution for this?
3   L A T E S T    R E P L I E S    (Newest First)
Support Posted - 06/14/2022 : 4:05:46 PM
If you have any issues with AutoResizeControls method, please open a new support ticket and attach the repro sample.

Best regards,
Nick7K Posted - 06/14/2022 : 2:48:56 PM

We already have m_bUseVisualManagerInBuiltInDialogs=TRUE, so that doesn't solve the issue.

Wil try AutoResizeControls()
Support Posted - 06/14/2022 : 05:28:05 AM

The clipping is caused by the font differences (in some controls, we're using a "regular", Office-like font).

You may either force the dialog fonts usage:

globalData.m_bUseVisualManagerInBuiltInDialogs = TRUE; //in your application InitInstance

or auto-resize dialog controls by calling CBCGPDialog::AutoResizeControls (same for the form view or property page).

Best regards,

BCGSoft Forums © Copyright (c) 1998-2022 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000