S
Sunny
This is repost, as it seems I had some problems with my antispam alias.
Lets hope it is solved.
Now, here's the repost:
Hi,
I have a user control, which I use in COM application. To be more
specific, I have Outlook 2000 add-in (C#. framework 1.1 SP 1).
So, you can attach your own Options page to Outlook's Tools/Options.
I have created a user control for that, and it displays and acts as
intended.
The only problem is, when it runs on a machine with different
resolution, and different system font size, it does not rescale
(autoscale) as regular forms does.
If I switch my windows to Large Fonts, then everything enlarges , all
forms are rescaled, etc. So does the box Outlook opens when you select
Tools/Options. All property pages there are OK, only mine is not
rescaled, and labels become multiline, all controls a far away from the
right end, etc.
Now, the question:
How to get the parent size, so I can manually rescale and reposition my
controls. (Control.Parent does not work, as this is ActiveX control
hosted in Outlook).
Or, better, is there some automatic feature, like AutoScale in winforms?
Thanks
Sunny
Lets hope it is solved.
Now, here's the repost:
Hi,
I have a user control, which I use in COM application. To be more
specific, I have Outlook 2000 add-in (C#. framework 1.1 SP 1).
So, you can attach your own Options page to Outlook's Tools/Options.
I have created a user control for that, and it displays and acts as
intended.
The only problem is, when it runs on a machine with different
resolution, and different system font size, it does not rescale
(autoscale) as regular forms does.
If I switch my windows to Large Fonts, then everything enlarges , all
forms are rescaled, etc. So does the box Outlook opens when you select
Tools/Options. All property pages there are OK, only mine is not
rescaled, and labels become multiline, all controls a far away from the
right end, etc.
Now, the question:
How to get the parent size, so I can manually rescale and reposition my
controls. (Control.Parent does not work, as this is ActiveX control
hosted in Outlook).
Or, better, is there some automatic feature, like AutoScale in winforms?
Thanks
Sunny