Re: Vista Aero
"John" <John@discussions.microsoft.com> wrote in message
news:71A1C553-1F46-43E5-BE13-EB31D1B5EC28@microsoft.com...
hi, dear David,
thanks, thanks very much.
yes, it is not international, the app is need to modify for optimization.
i will do it after.
i use spy++ and find a curious thing, the mylistbox and myscrollbar 's
parent is
desktop, but the mycombobox 's parent is mydialog(note: mycombobox is a
component of mydialog) . why the parent is desktop(i use detour 1.5 in
mylistbox and myscrollbar,because detour?), i am looking for the answer,
hope your response, and good regards
maybe ,if you want more details, i am very pleasure to post them for you
The reason why the listbox's parent is the desktop is so that when it drops
down from the combobox, it is not limited to be confined to the real estate
of the parent of the combobox; for example, if the combobox is in a small
dialog, when you drop down the combobox, the list is free to extend below
the bottom of the dialog. If the listbox's owner was the dialog also, it
would have to stop at the bottom edge of the dialog, so it would not hold as
many items. So, all listboxes of the combobox has the parent set to the
desktop (nothing unusual there).
I don't think Detours is affecting this. But it might be affecting the
painting problem with Aero (I don't know what your API hook is doing). To
debug this, I would write the simplest program possible that uses MyCombobox
and see if even that fails to draw properly in Aero.
Thanks,
David