I am not sure if it is to be described as in the title, but here is the weird thing :
I have buttons on a toolbar, consisting of
Container
Container
Label
Label
Now, I can't get the SpecialEffect (=0) at the top level container to work from within method code (it's 2 (flat) originally). That is, not from within any of the objects in this hierarchy, not even the top level container itself.
I already saw that it needs "some" trigger, because if I, for instance, let the .SpecialEffect = 0 preceede by a .BackColor = xxx,
sometimes it works. It doesn't matter whether the original trigger is a MouseMove (as it was designed), a MouseEnter, a Click, ... nothing works.
But :It works perfectly alright in VFP5, and after some hours of getting dizzy I found this :
When I, AFTER applying the SpecialEffect = 0, let the button overlap with the form of another Win-task, and remove it again (say alt-tab), the risen button shows. But worse : it only shows for that part the other task overlapped it !
Hence, it is a refresh/paint/lockscreen/whatever graphical issue, and even knowing this, I can't get it to work.
Unless you have the idea what I can do to solve this anomaly, there is something seriously wrong here.
Thanks of any possible help !
Peter