MSDOTnet.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How could work the ScrollableControl class?

 
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> Compact Framework
Author Message
Frankie D.



Joined: 08 Aug 2007
Posts: 1

PostPosted: Tue Feb 05, 2008 10:21 am    Post subject: How could work the ScrollableControl class? Reply with quote

Hi,

I have a control class („Diagram”) inherited from ScrollableControl. My
Diagram contains thousends of „DiagramItem” inherited from Control class.
DiagramItems are not overlapped, are strored in a two-dimensional array and
their layout is regular. The location of DiagramItems are determined by its
index in the array.

I think the original class in the CF checks the location of all the controls
wether they are in the display rectangle or not. This is unnecessary and two
slow in this environment. I want to speed up scrolling by developing custom
ScrollableControl class inherited from System.Windows.Form.Control.

It is not clear for me how could work the orginal ScrollableControl class?
How can I build up the OnPaint method of „Diagram” using the OnPaint method
of DiagramItems?

Please help!

Thanks

Frankie

Archived from group: microsoft>public>dotnet>framework>compactframework
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Need help with the Stopwatch class...please help Hi, I am playing a little bit with the stopwatch class from Daniel Moth and I want to build a little stopwatch with the time format I use a timer to display it on a lable then it

Testing a class library/graphical control Hi, I have created a nice graphical control as per the instructions posted here once before. However, is there any way to test it easily without having to copy the relevant DLL's from the build to the .net compact framework directories on my computer. For

Accessing base class method using derived class object using namespace std; class A { public: void display() { cout<<"A } }; class B : public A { public: void display() { cout<<" B display "<
Accessing base class method using derived class object using namespace std; class A { public: void display() { cout<<"A } }; class B : public A { public: void display() { cout<<" B display "<
Can someone help me get this to work? Sorry if this angers anyone. I'm posting here and to the other groups. I am unable to get a return value from a stored procedure in .NET using the following Sproc and VB code in a .NET Web Project. Here is the code in my stored proc. set ANSI_NULLS ON set
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> Compact Framework All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group