 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Joris Guest
|
Posted: Tue Jul 22, 2003 11:56 am Post subject: Re: Handling client area/top bar size differences: Win2K vs |
|
|
"Richard Grossman" <usenetuserDELETETHISPART (AT) techIII (DOT) com> wrote
| Quote: | Q1: Can anyone tell me the pixel size of the the caption bar in XP vs
2K, or the difference?
|
A1: Bad idea. That pixel size may be different depending on user
configuration, and it may be different still in each subsequent windows
version up to and including Windows 3012. Better idea: Check
GetSystemMetrics in your windows documentation, if you really need it (see
below).
| Quote: | Q2: Are the alternatives, when designing on 2K, still to A) expand the
client area in the formcreate event based on the difference between the
runtime size of the caption bar and the designtime size of the caption
bar, or B) to leave extra room on Win2K forms ?
|
A2: I've been setting ClientWidth and ClientHeight in FormShow, not in
FormCreate, for years. I seem to remember that this was better for some
reason.
Joris
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|