|T O P I C R E V I E W
||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)
||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.
||Posted - 06/14/2022 : 2:48:56 PM
We already have m_bUseVisualManagerInBuiltInDialogs=TRUE, so that doesn't solve the issue.
Wil try AutoResizeControls()
||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).