[21.02.2009]Codename EnhancedFlowDynPicXPfix [VB.Net] ScrollingDemo

Do you find the code useful?

  • Yes, very useful now I can start programming graphically :)

    Votes: 10 40.0%
  • Yes, now i have the idea how to create a scroller

    Votes: 5 20.0%
  • Mhh, too simple i have could written that 100 times better

    Votes: 7 28.0%
  • Who needs this ****?!

    Votes: 3 12.0%

  • Total voters
    25
Search This thread

scilor

Senior Member
Jan 5, 2008
1,270
36
@scilor.com
www.scilor.com
attachment.php


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/library/5ey6h79d(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
 

Attachments

  • pc_capture1.jpg
    pc_capture1.jpg
    44 KB · Views: 2,593
Last edited:

scilor

Senior Member
Jan 5, 2008
1,270
36
@scilor.com
www.scilor.com
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
 

davidwhitney

Senior Member
Jul 25, 2007
56
1
Would you mind if I attempted to port / adapt the code here into a user control?

I've not taken a look inside yet but from the sounds of it it does exactly what I'm after...
 

toolsche

Member
Mar 12, 2009
41
0
Erlangen
@davidwhitney
Did you manage to rewrite the code and put it together to a practical user control? Would be nice if you could update this thread if you got something working.