PC Review


Reply
Thread Tools Rate Thread

Container and child control

 
 
--== Alain ==--
Guest
Posts: n/a
 
      17th Feb 2007
Hi,

I have a control (let's called it : Container) which include several
"Child" controls.

1. I would like to detect if a child control is out of the display
rectangle of the container.
If yes, i would like to know if it is horizontally or vertically. Based
on that, i would like to display the appropriate scrollbar (horizontal
and/or vertical)

2. How can I know what should be re-painted ?
I mean, if my container scrolls somehow the child controls, i need to
know which rectangle should be redrawn and which child controls belong
to this rectangle to redraw.

thanks a lot,

Al.
 
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
custom container control - wrapping child controls gerry Microsoft ASP .NET 5 6th Aug 2008 02:47 PM
custom container control - wrapping child controls gerry Microsoft ASP .NET 0 22nd Jul 2008 04:36 PM
Container control resizing issue (child not anchored) =?Utf-8?B?SmFzb24gQmFybmV0dA==?= Microsoft VB .NET 2 19th Oct 2007 05:52 PM
How to clone container control (with child control inside it) like a group box harishashim@gmail.com Microsoft C# .NET 0 18th May 2006 03:59 AM
Make Container UserControl force controls to be added to a child container control Codemonkey Microsoft Dot NET Framework Forms 2 21st Nov 2003 08:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:12 PM.