Re: Form Height
From: Bonj (a_at_b.com)
Date: 03/10/04
- Next message: Karl E. Peterson: "Re: VB6+ Article in VSM by Bill McCarthy"
- Previous message: Bonj: "Re: VBScript to create shortcut"
- In reply to: Chuck: "Form Height"
- Next in thread: Guru Prakash: "Re: Form Height"
- Reply: Guru Prakash: "Re: Form Height"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 10 Mar 2004 00:49:10 -0000
Use GetClientRect API
"Chuck" <anonymous@discussions.microsoft.com> wrote in message
news:053FC49E-DC69-4596-BA0D-D498923F4AB4@microsoft.com...
> Hello,
>
> I am trying to create a form that shows and hides some controls based on
whether or not the user selects a checkbox. If they put a check in show
options I set the form height to show all the contorls that are below the
check box. If they don't check the box the lower part of the form is
hidden. This works fine, however the problem I'm having is that the height
property includes the form title bar. So if they have there Windows Font
option on extra large the height needs to be different than if they have it
on normal font. Is there a way in VB to tell what Windows default font they
have or is there some other work around to make this work?
>
> Thanks,
> Chuck
- Next message: Karl E. Peterson: "Re: VB6+ Article in VSM by Bill McCarthy"
- Previous message: Bonj: "Re: VBScript to create shortcut"
- In reply to: Chuck: "Form Height"
- Next in thread: Guru Prakash: "Re: Form Height"
- Reply: Guru Prakash: "Re: Form Height"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|