-
Is the new button format (%bb) (see Knowledgebase) significantly different from the old (%bi), i.e. is:I=WINIO@('%bb[ICON1/Press]&')
different to:
I=WINIO@('%bi[ICON1]%bt[Press]&')
and hence where would each be used? Those 'buttons with icons' used to tell everyone that the application was programmed with Delphi!
-
Is it the case that one can now have the incantation:1 24 default.manifest
in a RESOURCES section? I always thought that it only worked in a separately compiled .RC file (but I don't know where I got that idea).
-
Having the '1 24 etc' seems to fix the %bg background colour for the main window. Is that correct, or is there a workaround? -
I have made the chance discovery that having a minimise icon (%mi) also gives you a system menu - obvious really, but I've not found it in the documentation.I had forgotten about the system menu as although it was a big part of early Windows, I hadn't used it for some years. It allows the window to be maximised (so that its original contents appear in a sea of background colour), so it looks to me as though %mi should always be accompanied by %ww[fixed_size]. For anyone further bothered by the system menu, the %sm format code allows it to be added to or changed. During this oddysey of discovery, I also discovered that [volatile] appears to set [no_frame]. Is there no end to the hidden depths of Clearwin? -
I have recently been getting in a muddle with an application that uses %ap, where the user has a large widescreen display, and has set the font option to 'Large fonts'. Which character is a guaranteed 'average width' (so that I can use GET_TEXT_SIZE@) - or is the right result returned from GET_SYSTEM_FONT@? It would be mighty handy if there was a pixel equivalent to %ap. Part of the trouble is finding a monitor & graphics card of the same type to run tests on - and I have the choice of several hundreds of machines.
Eddie