Windows Vista Forums
Vista Forums Home Join Vista Forums Donate 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

z-order of adorners?

Closed Thread
 
Thread Tools Display Modes
Old 02-05-2007   #1 (permalink)
clintsinger
Guest


 

z-order of adorners?

Hi,

I am making an adorner class that I can use to manipulate (move, resize)
objects on a canvas. Each object gets an adorner and added to the canvas
AdornerLayer. Additionally they are all drawn overtop with a transparent
rectangle so that the adorner receives the mouse input. This works great to
select the elements.

When object overlap each other their adorners overlap the elements but they
also overlap each other. This means that if I try to click on the adorner of
an element that is behind another adorner then only the foreground adorner
receives the mouse input. Of course this should be expected behaviour but
unfortunately I can't choose to place one adorner on top of the other (say if
an element is "selected").

I have noticed that there is a Z-Index property for panels but I don't seem
to be able to find one for the AdornerLayer.

Could someone please suggest how I would go about reordering the adorner
layer?

Cheers,
Clint
Old 12-04-2007   #2 (permalink)
Noussa
Guest


 

Hi

I'm trying to do the same thing as you (manipulating UIElements on a canvas : Drag'nDrop (to move), resize , rotate, scale, ...etc) Would you like please to help me (can you send me your exmples)
Thnx a lot

EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Order Dvd tiger29 Vista General 5 04-29-2008 12:50 PM
Order 64 bit DVD? Charta360 Vista General 3 12-23-2007 10:31 AM
Problem Modifying Adorners SachitHippie Avalon 0 11-07-2007 02:30 AM
How Do I Order the DVD? wanderer Vista General 5 07-07-2006 06:53 AM
How do I order DVD? tac1 Vista General 0 06-15-2006 09:19 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