Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / Scroll Bars

Author
Message
FireIndy
15
Years of Service
User Offline
Joined: 17th Jan 2007
Location: US of A
Posted: 19th Jun 2012 04:53 Edited at: 19th Jun 2012 04:53
How do you guys handle scroll bars in DarkGDK.NET. I noticed that the behavior is kinda funky with DarkGDK.net. Mostly because I have other threads running in the background and that whenever you move the "thumb" of the scrollbar around, the threads hang until you release it.

It's for any scrollbar actually. The one's in listboxes etc. What I have is a run function for an object inside my DarkGDK loop and then inside that run function, threads are created, ran, and interrupted. Until you start using a scrollbar of course.

I at first thought it may be because of the run function is on the same thread as the main UI thread, but I tried putting it on it's own thread, and it still got hung up.

So, I think it's just the nature of how scrollbars work and that they hog the main UI thread or something similar. Anyone know anything about this?

Here's a video: http://www.youtube.com/watch?v=eGCdP50d2vQ&feature=youtu.be

The tick at the bottom of the screen is updated on it's own thread.

Login to post a reply

Server time is: 2022-08-07 17:19:59
Your offset time is: 2022-08-07 17:19:59