Re: Phix : win32lib7 project
- Posted by ChrisB (moderator) Dec 16, 2016
- 1571 views
Hi
As a side effect of trawling through the IDE, I now know the cause of what I thought was a windows manifest issue with eui.exe and euiw.exe. The blocking of text labels, it turns out, is a result of the default background colour being set to black (0), so you actually have to set the background colour of text labels as you go.
To see this in action, start the IDE, look at Options / Configure IDE, and look through the tabs - you will see the labels as blocked out (note, this does not appear to have been a universal effect, so you may not see it).
To cure it, add into IDE_config.ew, procedure ConfigWindow_onOpen (integer self, integer event, sequence params) : line 536, the following code (just below the variable declarations)
atom sysColor = getSysColor(COLOR_WINDOW) -- CMB not just Phix set the background color of the labels --setWindowBackColor ( object id, object Color ) setWindowBackColor ( Tab3_Lb1, sysColor ) setWindowBackColor ( Tab6_LB1, sysColor ) setWindowBackColor ( Tab4_LB1, sysColor ) setWindowBackColor ( Tab1_Lb1, sysColor ) setWindowBackColor ( Tab2_LB1, sysColor ) setWindowBackColor ( Tab4_LB2, sysColor ) setWindowBackColor ( Tab4_LB2, sysColor ) setWindowBackColor ( Tab4_LB3, sysColor ) setWindowBackColor ( Tab2_Lb2, sysColor ) setWindowBackColor ( Tab6_lb4, sysColor ) setWindowBackColor ( Tab4_LB4, sysColor ) setWindowBackColor ( Tab2_Lb3, sysColor ) setWindowBackColor ( Tab2_Lb4, sysColor ) setWindowBackColor ( Tab2_LB5, sysColor ) setWindowBackColor ( Tab6_lb5, sysColor ) setWindowBackColor ( Tab2_lb6, sysColor ) setWindowBackColor ( Tab6_lb6, sysColor ) setWindowBackColor ( Tab6_lb7, sysColor ) setWindowBackColor ( EditorPath, sysColor ) setWindowBackColor ( LText366, sysColor ) setWindowBackColor ( Tab3_Lb2, sysColor ) setWindowBackColor ( Tab7_LB1, sysColor )
and if you have the issue, that'll fix it.
Cheers
Chris