Change the BLACK background of datawindow on column moving and mouse selection

来源:互联网 发布:mac pro 2016 发布时间 编辑:程序博客网 时间:2024/05/18 15:30

my english blog, http://zenqstudio.wordpress.com/

 

first,see figure

 

 

Figure:the black background of datawindow on column selection

 

the datawindow simply set the background color of columns to black
on column moving and mouse selection,and can't be changed at

designtime nor runtime,that black annoys,:(

in order to change it,we have to get into pbdwe.dll,the datawindow engine


take pb9 for example,open pbdwe90.dll with a hex editor(e.g. winhex),before
that,make a backup copy first.

search hex values

C706000000006A00

the three bytes after C706 is color R,G,B value ,(e.g. C7060000FF means blue),you

can change it to any color you like.

it also applies to pb6.5

for pb10.5,pb11.5,search C70600000000FF15

 

Figure:changed background color of datawindow on column selection

 

 

done.