What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Bug Reports » [Bug] Correct height of ListBox

[Bug] Correct height of ListBox
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [Bug] Correct height of ListBox
quote:
Originally posted by Mattike
Try:
code:
<Position Left="5" Top="40" Width="70" Height="218"/>
   <Units>SizePixels</Units>
</Position>
This will keep the Left and Top values in dialog units (1 unit = 1.5 pixels), but will interpret the Width and Height values as pixels. Eventually, you can use AllPixels instead of SizePixels to have Left and Top also in pixels. It's easier for me to work that way as it lets me perfectly position a control or element. :)
will work perfect on most default desktops. But people with different display settings like DPI stuff and all that other mambo jambo will see screwed up dialogs (well not really screwed up, but not the stuff you intended anyways)...

In short: 1 dialog unit isn't always 1.5 pixel. So better use dialog units...

(^^ what others tell me todo, personally I would use pixels too though :p especially since any graphical content you use is defined in pixels and thus to align something perfectly to that you need to use pixels too.... But Patchou and others would probably shake their heads at this and tell me to use dialog units and make the dialogs with graphics in such a way that they will always look 'aligned', aka don't use a graphic as the base to align and design controls or windows, only use them as 'touch-ups')

This post was edited on 05-08-2008 at 05:03 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
05-08-2008 05:01 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Bug] Correct height of ListBox - by mynetx on 05-07-2008 at 10:42 AM
RE: [Bug] Correct height of ListBox - by Volv on 05-07-2008 at 01:03 PM
RE: [Bug] Correct height of ListBox - by mynetx on 05-07-2008 at 01:16 PM
RE: [Bug] Correct height of ListBox - by markee on 05-08-2008 at 02:14 AM
RE: [Bug] Correct height of ListBox - by mynetx on 05-08-2008 at 07:06 AM
RE: [Bug] Correct height of ListBox - by Matti on 05-08-2008 at 04:09 PM
RE: [Bug] Correct height of ListBox - by CookieRevised on 05-08-2008 at 05:01 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On