Windows Vista Forums
Vista Forums Home Join Vista Forums Webcasts Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

A problem about zIndex.

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 01-02-2007   #1 (permalink)
wisenighthsu@ulead.com.tw
Guest


 

A problem about zIndex.

Dear all:

I wrote a Canvas which has three children.

The third one is on the top, First one is under the second one.

Then, I use a button. When clicking the button,

I remove the third one from the Canvas, and

set the zIndex of first one to 1, second one to 0.

But the first one is still under the second one.

What can I do to let the first one on the top.

BR

Wisenight


My System SpecsSystem Spec
Old 01-09-2007   #2 (permalink)
Stoitcho Goutsev \(100\)
Guest


 

Re: A problem about zIndex.

Wisenight,

AFIAK the ZIndex affects only the user input, which means the element on the
bottom won't be absured by that is visually on the top with regards to the
mouse input for example. However visually ZIndex doesn't change anything. If
you want to move the control on the top you need to change its position in
the visaul children collection (physically move the element).


--
HTH
Stoitcho Goutsev (100)
<wisenighthsu@ulead.com.tw> wrote in message
news:1167722508.378383.21930@42g2000cwt.googlegroups.com...
> Dear all:
>
> I wrote a Canvas which has three children.
>
> The third one is on the top, First one is under the second one.
>
> Then, I use a button. When clicking the button,
>
> I remove the third one from the Canvas, and
>
> set the zIndex of first one to 1, second one to 0.
>
> But the first one is still under the second one.
>
> What can I do to let the first one on the top.
>
> BR
>
> Wisenight
>



My System SpecsSystem Spec
Old 01-09-2007   #3 (permalink)
Stoitcho Goutsev \(100\)
Guest


 

Re: A problem about zIndex.

Wisenight,

AFIAK the ZIndex affects only the user input, which means the element on the
bottom won't be absured by that is visually on the top with regards to the
mouse input for example. However visually ZIndex doesn't change anything. If
you want to move the control on the top you need to change its position in
the visaul children collection (physically move the element).


--
HTH
Stoitcho Goutsev (100)
<wisenighthsu@ulead.com.tw> wrote in message
news:1167722508.378383.21930@42g2000cwt.googlegroups.com...
> Dear all:
>
> I wrote a Canvas which has three children.
>
> The third one is on the top, First one is under the second one.
>
> Then, I use a button. When clicking the button,
>
> I remove the third one from the Canvas, and
>
> set the zIndex of first one to 1, second one to 0.
>
> But the first one is still under the second one.
>
> What can I do to let the first one on the top.
>
> BR
>
> Wisenight
>



My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi-select problem in Windows Explorer BIG PROBLEM!!!!!! Jim Hansen Vista General 3 12-16-2007 08:09 PM
Generic McAfee Problem Message in Vista Problem Reports cyberbuff53 Vista performance & maintenance 0 12-01-2007 07:55 AM
fixed unable to delete email problem, now I have new problem j2 Vista mail 19 03-29-2007 08:25 PM
audio problem with my sony vaio laptop and x64 problem =?Utf-8?B?YWxleA==?= Vista hardware & devices 1 07-14-2006 09:32 AM
Vista Upgrade Problem - Windows Explorer Loop problem Steve S Vista installation & setup 0 06-27-2006 10:15 AM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51