mIRC Home    About    Download    Register    News    Help

Print Thread
#209418 12/02/09 06:33 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I have a dialog, which contains many list boxes, and for most, the default left hand alignment works great, however, I do have one box where the data would look better (I think) if it could be right aligned.

If this is possible using basic mIRC it would be preferable, as I know there are a few people waiting for me to finish the upgrades that I'm working on, and I don't want to force them to install a DLL that they might not normally use.

If more information is necessary, let me know what you need to know, and I will do my best to relay it ASAP.

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
It's not possible unfortunately. You could attempt to right-align text in the listbox using hard spaces, but you would have to somehow find out how many characters can fit in the visible area of the listbox, and you'd have to assume the windows theme is using a fixed-width font for listboxes.

In short - not possible without using a very messy hack that may or may not work on different system.

Joined: Aug 2004
Posts: 7,252
R
RusselB Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
thanks.. I was afraid that would end up being the answer.

Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Use MDX or DCX. smile

Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
...read his initial post once more...


Link Copied to Clipboard