PC Review


Reply
Thread Tools Rate Thread

How can I place a control over a ListView control (Z-Order 0)

 
 
=?Utf-8?B?RXNwZXJsdWV0dGU=?=
Guest
Posts: n/a
 
      4th Mar 2005
I am trying to simulate Windows Explorer's resizing of the Treeview control
and the adjacent ListView control.
Here is what I did : I have a Rectangle control sitting on a Form inbetween
as TreeView and a ListView control. In the MouseMoove event I reposition the
Rectangle control(if the left button is pressed) so that it follows the
mouse's X axis. In the MouseUp event I resize the TreeView and the ListView
control. The problem is that the Rectangle control's Z-Order places it behind
the ListView or the TreeView control.
Any solution or work-around?
Thanks
 
Reply With Quote
 
 
 
 
Alex Dybenko
Guest
Posts: n/a
 
      5th Mar 2005
Try to look at splitter solution at MAUG downloads here:

http://maug.pointltd.com/access

--
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com



"Esperluette" <(E-Mail Removed)> wrote in message
news:5F33E4AF-1410-44F8-8EE9-(E-Mail Removed)...
>I am trying to simulate Windows Explorer's resizing of the Treeview control
> and the adjacent ListView control.
> Here is what I did : I have a Rectangle control sitting on a Form
> inbetween
> as TreeView and a ListView control. In the MouseMoove event I reposition
> the
> Rectangle control(if the left button is pressed) so that it follows the
> mouse's X axis. In the MouseUp event I resize the TreeView and the
> ListView
> control. The problem is that the Rectangle control's Z-Order places it
> behind
> the ListView or the TreeView control.
> Any solution or work-around?
> Thanks



 
Reply With Quote
 
=?Utf-8?B?RXNwZXJsdWV0dGU=?=
Guest
Posts: n/a
 
      9th Mar 2005
Looks like splitter is a .net framework control I am using access 2002 but
thanks for the info.

"Alex Dybenko" wrote:

> Try to look at splitter solution at MAUG downloads here:
>
> http://maug.pointltd.com/access
>
> --
> Alex Dybenko (MVP)
> http://Alex.Dybenko.com
> http://www.PointLtd.com
>
>
>
> "Esperluette" <(E-Mail Removed)> wrote in message
> news:5F33E4AF-1410-44F8-8EE9-(E-Mail Removed)...
> >I am trying to simulate Windows Explorer's resizing of the Treeview control
> > and the adjacent ListView control.
> > Here is what I did : I have a Rectangle control sitting on a Form
> > inbetween
> > as TreeView and a ListView control. In the MouseMoove event I reposition
> > the
> > Rectangle control(if the left button is pressed) so that it follows the
> > mouse's X axis. In the MouseUp event I resize the TreeView and the
> > ListView
> > control. The problem is that the Rectangle control's Z-Order places it
> > behind
> > the ListView or the TreeView control.
> > Any solution or work-around?
> > Thanks

>
>
>

 
Reply With Quote
 
Alex Dybenko
Guest
Posts: n/a
 
      9th Mar 2005
no, this one i mean, for access 97, but you can easy convert it to 2002
http://maug.pointltd.com/access/Quer...st.asp?dlid=11

--
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com


"Esperluette" <(E-Mail Removed)> wrote in message
news:24AF7EB5-8EE1-4926-BE70-(E-Mail Removed)...
> Looks like splitter is a .net framework control I am using access 2002 but
> thanks for the info.
>
> "Alex Dybenko" wrote:
>
>> Try to look at splitter solution at MAUG downloads here:
>>
>> http://maug.pointltd.com/access
>>
>> --
>> Alex Dybenko (MVP)
>> http://Alex.Dybenko.com
>> http://www.PointLtd.com
>>
>>
>>
>> "Esperluette" <(E-Mail Removed)> wrote in message
>> news:5F33E4AF-1410-44F8-8EE9-(E-Mail Removed)...
>> >I am trying to simulate Windows Explorer's resizing of the Treeview
>> >control
>> > and the adjacent ListView control.
>> > Here is what I did : I have a Rectangle control sitting on a Form
>> > inbetween
>> > as TreeView and a ListView control. In the MouseMoove event I
>> > reposition
>> > the
>> > Rectangle control(if the left button is pressed) so that it follows the
>> > mouse's X axis. In the MouseUp event I resize the TreeView and the
>> > ListView
>> > control. The problem is that the Rectangle control's Z-Order places it
>> > behind
>> > the ListView or the TreeView control.
>> > Any solution or work-around?
>> > Thanks

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?RXNwZXJsdWV0dGU=?=
Guest
Posts: n/a
 
      9th Mar 2005
Alex: The splitter app solution behaves exactly like my solution. What I am
trying to emulate is the Windows Explorer way of doing it. My app and yours
resizes both controls on the fly. The Windows explorer method I beleive is
more elegant since you don't get all the flickering. In windows explorer,
only a dashed line is draged accress the control. When the dashed line is
dropped, then and only then does the rezise occur. But as I mentioned in my
orriginal post, I have yet to find a control that can be draged and that has
a Z-Order that places it above a ListView or a TreeView Control.

Thanks
Richard

"Alex Dybenko" wrote:

> no, this one i mean, for access 97, but you can easy convert it to 2002
> http://maug.pointltd.com/access/Quer...st.asp?dlid=11
>
> --
> Alex Dybenko (MVP)
> http://Alex.Dybenko.com
> http://www.PointLtd.com
>
>
> "Esperluette" <(E-Mail Removed)> wrote in message
> news:24AF7EB5-8EE1-4926-BE70-(E-Mail Removed)...
> > Looks like splitter is a .net framework control I am using access 2002 but
> > thanks for the info.
> >
> > "Alex Dybenko" wrote:
> >
> >> Try to look at splitter solution at MAUG downloads here:
> >>
> >> http://maug.pointltd.com/access
> >>
> >> --
> >> Alex Dybenko (MVP)
> >> http://Alex.Dybenko.com
> >> http://www.PointLtd.com
> >>
> >>
> >>
> >> "Esperluette" <(E-Mail Removed)> wrote in message
> >> news:5F33E4AF-1410-44F8-8EE9-(E-Mail Removed)...
> >> >I am trying to simulate Windows Explorer's resizing of the Treeview
> >> >control
> >> > and the adjacent ListView control.
> >> > Here is what I did : I have a Rectangle control sitting on a Form
> >> > inbetween
> >> > as TreeView and a ListView control. In the MouseMoove event I
> >> > reposition
> >> > the
> >> > Rectangle control(if the left button is pressed) so that it follows the
> >> > mouse's X axis. In the MouseUp event I resize the TreeView and the
> >> > ListView
> >> > control. The problem is that the Rectangle control's Z-Order places it
> >> > behind
> >> > the ListView or the TreeView control.
> >> > Any solution or work-around?
> >> > Thanks
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
Alex Dybenko
Guest
Posts: n/a
 
      10th Mar 2005
ok, now i got your point. but don't know how to help, sorry

--
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com


"Esperluette" <(E-Mail Removed)> wrote in message
news:C8527646-96FB-4E74-80BE-(E-Mail Removed)...
> Alex: The splitter app solution behaves exactly like my solution. What I
> am
> trying to emulate is the Windows Explorer way of doing it. My app and
> yours
> resizes both controls on the fly. The Windows explorer method I beleive is
> more elegant since you don't get all the flickering. In windows explorer,
> only a dashed line is draged accress the control. When the dashed line is
> dropped, then and only then does the rezise occur. But as I mentioned in
> my
> orriginal post, I have yet to find a control that can be draged and that
> has
> a Z-Order that places it above a ListView or a TreeView Control.
>
> Thanks
> Richard
>
> "Alex Dybenko" wrote:
>
>> no, this one i mean, for access 97, but you can easy convert it to 2002
>> http://maug.pointltd.com/access/Quer...st.asp?dlid=11
>>
>> --
>> Alex Dybenko (MVP)
>> http://Alex.Dybenko.com
>> http://www.PointLtd.com
>>
>>
>> "Esperluette" <(E-Mail Removed)> wrote in message
>> news:24AF7EB5-8EE1-4926-BE70-(E-Mail Removed)...
>> > Looks like splitter is a .net framework control I am using access 2002
>> > but
>> > thanks for the info.
>> >
>> > "Alex Dybenko" wrote:
>> >
>> >> Try to look at splitter solution at MAUG downloads here:
>> >>
>> >> http://maug.pointltd.com/access
>> >>
>> >> --
>> >> Alex Dybenko (MVP)
>> >> http://Alex.Dybenko.com
>> >> http://www.PointLtd.com
>> >>
>> >>
>> >>
>> >> "Esperluette" <(E-Mail Removed)> wrote in message
>> >> news:5F33E4AF-1410-44F8-8EE9-(E-Mail Removed)...
>> >> >I am trying to simulate Windows Explorer's resizing of the Treeview
>> >> >control
>> >> > and the adjacent ListView control.
>> >> > Here is what I did : I have a Rectangle control sitting on a Form
>> >> > inbetween
>> >> > as TreeView and a ListView control. In the MouseMoove event I
>> >> > reposition
>> >> > the
>> >> > Rectangle control(if the left button is pressed) so that it follows
>> >> > the
>> >> > mouse's X axis. In the MouseUp event I resize the TreeView and the
>> >> > ListView
>> >> > control. The problem is that the Rectangle control's Z-Order places
>> >> > it
>> >> > behind
>> >> > the ListView or the TreeView control.
>> >> > Any solution or work-around?
>> >> > Thanks
>> >>
>> >>
>> >>

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use a ComboBox Control to Edit Data in a ListView Control in VS-20 =?Utf-8?B?NTdGb3Jk?= Microsoft Windows 2000 Applications 1 3rd Mar 2006 04:21 AM
Can I place a User Control (not Web Control) in IE Faizan Ahmed Microsoft ASP .NET 4 4th Nov 2004 09:33 PM
Pass a form value from a user control to parent control - Event Order issues ab_j@flyingrobot.com Microsoft ASP .NET 0 29th Oct 2004 06:38 PM
ListView control ignores rearranged column order on sort. Frank Rizzo Microsoft VB .NET 0 3rd May 2004 07:47 PM
.net bug in order of events w/ listview control?? glenn Microsoft Dot NET Framework Forms 0 24th Sep 2003 01:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:29 PM.