hello,all
as the following JPG:
why can't the tree be showed in ButtonClassName?
[attachment deleted by admin]
Probably drawing order - whichever is drawn last is drawn on-top.
If this is a dialog, you should be able to just define the ButtonClassName first.
hey,Tedd
Thanks your answer.
the problem is still there. i attached the sourcecode.
[attachment deleted by admin]
Remove the WS_CLIPSIBLINGS style from the treeview creation :wink
hey,Tedd
OK!
thank you very much.
I have recompiled and tested the Tree1_.asm without changing the code and .........
It work perfectly with ml /Zp4.
Seem to be a problem of alignement.
hello,ToutEnMasm
thanks your answer.
i know a method of alignement
it can't work perfectly with ml /Zp4 to me. because the line(invoke GroupButton,hWin,S('Dir'),15,5,211,225,GROUPDIR) has been added ";" in sourcecode.
Hello,
More simple like that.It is two childs of the same windows that couldn't have the same place,except if one of them has the WS_EX_TRANSPARENT extended style.
Give this extended style to the GroupButton and there is no more problem
You can also change the parent of the treeview and give it the handle of the groupbox as parent window. In this case,some events of the treeview must be modified.
ToutEnMasm