My WPF controls need to expose a MinWidth and MinHeigth for the hosting VB 6 application to consume and honor. What's the most reliable way to convert from one to the other.
(If it will help, I can change the ScaleMode property in VB 6 to whatever.)
My WPF controls need to expose a MinWidth and MinHeigth for the hosting VB 6 application to consume and honor. What's the most reliable way to convert from one to the other.
(If it will help, I can change the ScaleMode property in VB 6 to whatever.)
Therfore the formula is
vbForm.Width = (WpfControl.MinWidth / 96 * 1440) + (vbForm.Width - vbForm.ScaleWidth)