FORUMS
Remove All Ads from XDA

 View Poll Results: Do you find the code useful?

Yes, very useful now I can start programming graphically
 
10 Vote(s)
40.00%
Yes, now i have the idea how to create a scroller
 
5 Vote(s)
20.00%
Mhh, too simple i have could written that 100 times better
 
7 Vote(s)
28.00%
Who needs this ****?!
 
3 Vote(s)
12.00%

[21.02.2009]Codename EnhancedFlowDynPicXPfix [VB.Net] ScrollingDemo

1,253 posts
Thanks Meter: 22
 
Post Reply Email Thread


You can code it better, do it!

Hello
I wanted to start graphical programming for a next project i will start so i played a little bit and created a simple and easy scroll program.
I should run nicecly on every .net device.
I have just commented the code for you to make it understandable for newbes who want to start programming in .net with graphics.

maybe i will add a flow feature later.

If you use the code please PM me, then you are allowed to use my code however you want.

So I will call it "PM-me license" ^^
and it would be nice for what you used it

if you have ideas i could add post it here
and please PUSH UP THIS THREAD xD

[Update]
If have made some litte bugfixes, speed improvments and i have added a fps counter.
At my Kaiser it runs without touch at 20FPS when I touch my Screen then only 9
And It Costs 3 FPS when you have selected an item. Any Idea of speed it up?
Which device you got and how fast it runs?

IF someone has ideas to improve the speed please PM me!

[Update]
Simple Flow added, just flowing without breaking or something, maybe i will improve it later on...
would be just add v=a*t + v0 till zero or change of algebraic sign.

[Idea]
http://msdn.microsoft.com/de-de/libr...9d(VS.80).aspx
LockBits do make it fast, I will take a look later

[Update]
Better flow, icons get read from img dir dynamicly just copy some img files there and take a look. There will be a messagebox with the time needed for loading them. If the pictures are in 32x32 already it needs around 2secs on a Kaiser for 42 images. If there are much bigger it takes 14secs (They get resized).

[Update] You can now run the program under WinXP just run the ScrollerDemo .exe in the MissingSchoolBellDir. Icons are loaded from the img dir

Download:
http://www.scilor.com/scrollingdemo.html
Attached Thumbnails
Click image for larger version

Name:	pc_capture1.jpg
Views:	2584
Size:	44.0 KB
ID:	138966  
 
 
15th December 2008, 01:06 AM |#2  
nuke1's Avatar
Senior Member
Thanks Meter: 0
 
More
*bump* ...
15th December 2008, 11:16 AM |#3  
Senior Member
Thanks Meter: 7
 
More
Please add a flow feature. This is a great idea. developers helping developers. Thank you!
15th December 2008, 09:06 PM |#4  
scilor's Avatar
OP Senior Member
Flag @scilor.com
Thanks Meter: 22
 
Donate to Me
More
Update -> Some fixes, speed improvment and a fps counter

@computerjunkie Flow feature comes later iam sorry
18th December 2008, 09:34 PM |#5  
scilor's Avatar
OP Senior Member
Flag @scilor.com
Thanks Meter: 22
 
Donate to Me
More
Flow feature added, but beware very simple I would call that alpha
20th December 2008, 01:00 PM |#6  
scilor's Avatar
OP Senior Member
Flag @scilor.com
Thanks Meter: 22
 
Donate to Me
More
Added a better flow and loading of image out of the img dir for the icons
21st December 2008, 02:28 PM |#7  
scilor's Avatar
OP Senior Member
Flag @scilor.com
Thanks Meter: 22
 
Donate to Me
More
It runs now under XP, if you have a tablet pc it is really nice
a compiled.exe is in the MissingSchoolBell dir
23rd January 2009, 04:53 PM |#8  
Member
Thanks Meter: 0
 
More
Thumbs up
Quote:
Originally Posted by scilor

Added a better flow and loading of image out of the img dir for the icons

I think you did a very well job!
Would be nice to make this into a UserControl :)
23rd January 2009, 09:57 PM |#9  
scilor's Avatar
OP Senior Member
Flag @scilor.com
Thanks Meter: 22
 
Donate to Me
More
If I have time, I could
I never tried creating a control.
I will have some time next week
9th February 2009, 04:55 PM |#10  
Ather's Avatar
Retired Senior Moderator
Thanks Meter: 807
 
Donate to Me
More
Quote:
Originally Posted by GeirFrimann

I think you did a very well job!
Would be nice to make this into a UserControl :)

second that :)
9th February 2009, 06:45 PM |#11  
scilor's Avatar
OP Senior Member
Flag @scilor.com
Thanks Meter: 22
 
Donate to Me
More
I am so sorry to say:
I am to dump to create a User Control because I have many Problems:

I cannot access the Controls out of another Module..
When I Put everything into one Class and I compile it and try to use it -> Crash of Visual Studio
Post Reply Subscribe to Thread

Tags
graphics, scilor, scroller, vb.net

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes