Jump to content

Strange color behaviour in TreeView


Recommended Posts

There is a color problem in treeView in 3.1.1.50, Before I started the script i had my editor open and as active window, then the background on the lines and +/- signs are white.

If I had the AutoIt help-file as active window, the color is yellow

If I had Total Commande as active window, the color is grey.

$treeview = GUICtrlCreateTreeView (6,6,300,434,BitOr($TVS_HASBUTTONS,$TVS_HASLINES,$TVS_LINESATROOT,$TVS_DISABLEDRAGDROP,$TVS_SHOWSELALWAYS,$TVS_CHECKBOXES,$TVS_TRACKSELECT),$WS_EX_CLIENTEDGE )

Hope you understand

Regards

Sven

Link to comment
Share on other sites

It seems like the background color of the lines and +/- signs in the treeview gets the same color as the previously open window in the in the same position on the screen as the treeview upper left corner have.

Hopefully you understand

/Sven

Link to comment
Share on other sites

Hi Sven :)

please could you post a small window/screen capture and I need some info from you:

what OS do you have?

Thanks and regards

Holger

P.S: I will try to reproduce the problem - i know there could be one under 98 and NT4...

Link to comment
Share on other sites

Hello !

Operating System: English Windows 2000 SP4, a HP d530 SFF, graphic controller:

Integrated: Intel 82865G Graphics Controller

Hope this helps

Regards

Sven

Edited by Wooltown
Link to comment
Share on other sites

Hi Sven.

Thanks for info.

Please could you test it with the exe in the zip?

At the moment I cannot reproduce your problem (have also W2K SP4 here) but I will check later again at home.

Maybe it's the same problem that I saw under 98 and NT4...

Thanks so far and regards :)

Holger

AutoIt3.zip

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...