BCGSoft Forums
BCGSoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 BCGControlBar Pro for MFC Forums
 BCGControlBar Professional Edition
 Static text
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Nick7K

9 Posts

Posted - 06/14/2022 :  04:38:35 AM  Show Profile  Reply with Quote
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?

Support

4175 Posts

Posted - 06/14/2022 :  05:28:05 AM  Show Profile  Visit Support's Homepage  Reply with Quote
Hi,

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 Technical Support
Go to Top of Page

Nick7K

9 Posts

Posted - 06/14/2022 :  2:48:56 PM  Show Profile  Reply with Quote
Thanks.

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

Wil try AutoResizeControls()
Go to Top of Page

Support

4175 Posts

Posted - 06/14/2022 :  4:05:46 PM  Show Profile  Visit Support's Homepage  Reply with Quote
If you have any issues with AutoResizeControls method, please open a new support ticket and attach the repro sample.

Best regards,

BCGSoft Technical Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
BCGSoft Forums © Copyright (c) 1998-2022 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000