Op Tue, 16 Apr 2013 20:59:04 +0200 schreef Dilwyn Jones <[email protected]>:

(...)

130 WM_BORDER #0,3,??? : REMark a 3D border

(??? because I can’t remember the value used)

Darn - it would be a good idea to find out.

I'd bet that is the problem.
Have had problems with some 3d borders before (and discussed it with Marcel some time ago) - usual sympton drawing triangles from top and bottom which overlap in the centre of the window and freeze the program instead of just drawing the 3d border.

As far as I know and tested, WMAN2 will produce a red/white stipple (238) for any illegal value.
For 24 bit values only the lower 16 bits are seem by WM_XXX.
$239 to $2FF is illegal; undefined System Palette Reference.
The colour defined for a legal reference could itself be out-of-range though.
$4C6 to $4FF is illegal; undefined 3D border.
$500 to $3FFF is not defined as anything.
None of these produced a hangup in my tests.

Maybe the 3D border value itself was legal but the window didn't have the room for it?
Some of those borders take up more than 3 pixels.

Bob

--
The BSJR QL software site at: http://members.upc.nl/b.spelten/ql/
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to