Please enable JavaScript to view this site.

A-Shell Development History

A new CTYPE2 flag, MBF2_PIXSIZE has been defined which may be used specify display sizes of static icons and dialogs:

Symbol

Value

Description

MBF2_PIXSIZE

&h0080

Erow, ecol = size in pixels

 

Without this flag, the erow and ecol parameters passed when defining a static icon or dialog (MBF_STATIC+MBF_ICON) have no effect, as we let Windows choose the standard icon size based on your desktop preferences. (On a typical high-res monitor, this might be 32x32 pixels.)

With the flag, the EROW and ECOL parameters are interpreted as the desired height and width in pixels. So you might set them to, say, 48, or 64, to display larger icons/dialogs, similar to what Explorer does when it offers you multiple display sizes.

Eventually the concept may be extended to other controls, but for now it only applies to static icons and dialogs.

The ICODLGV sample program in [908,27] has been enhanced to allow you to test this feature by using a switch /## where ## is the desired size, e.g. RUN ICODLGV/48.