EasyPTR MINOB corrupting application window attributes?
Posted: Tue Nov 29, 2022 4:40 pm
Hi,
While tinkering with a little program, I've noticed strange behaviour with the colour attributes of application windows following the setting of text in an information object. I'm not exactly sure what is going on, but I'm pretty certain that setting an information object using MINOB should not change the attributes of application windows!
This is being written on QPCII, SMSQ/E, WMAN2 with large screen resolution and system palettes.
What seems to be happening is when I refresh the screen (function REFRESH_AW) it changes the application window background colour to be the system palette TITLE BACKGROUND value if MINOB is used and doesn't if MINOB (line 3650) is removed. It shows itself best if you set TITLE BACKGROUND to a vivid colour.
Start program gives you what can be viewed in Hit refresh and you get Remove line 3650 and run, then hit refresh and you still get I don't know what's going on here, so any ideas are welcome...I've attached the test code (altered to make it fit in 512x256) and menu should you wish to try it (zipped on Windows).
Regards
Jon
While tinkering with a little program, I've noticed strange behaviour with the colour attributes of application windows following the setting of text in an information object. I'm not exactly sure what is going on, but I'm pretty certain that setting an information object using MINOB should not change the attributes of application windows!
This is being written on QPCII, SMSQ/E, WMAN2 with large screen resolution and system palettes.
What seems to be happening is when I refresh the screen (function REFRESH_AW) it changes the application window background colour to be the system palette TITLE BACKGROUND value if MINOB is used and doesn't if MINOB (line 3650) is removed. It shows itself best if you set TITLE BACKGROUND to a vivid colour.
Start program gives you what can be viewed in Hit refresh and you get Remove line 3650 and run, then hit refresh and you still get I don't know what's going on here, so any ideas are welcome...I've attached the test code (altered to make it fit in 512x256) and menu should you wish to try it (zipped on Windows).
Regards
Jon