- 0
Drawing problem with list box [.NET]
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Posts
-
By veternan · Posted
My best decision: SHIFT+DELETE WINDOWS Then Installed Fedora Linux. Now I am a Happy Person -
By MulletMan69 · Posted
I value a game as a whole including graphics. But going backwards in terms of graphics with a game I'm not already invested in (as in something I played and loved in the past and still do) is off-putting. Its a very poor demo trailer if they didn't crank the settings to max that would be ridiculous. Different strokes for different folks i guess, i'm not into slop the trailer and likely game could have been far better, it doesn't it instead looks like it was made on a shoe string budget or with lack of experience. But that could also be down to trying to get it running on low budget/outdated hardware and sacrificing the top end. -
By nathanm · Posted
> Our goal is to ensure that the App Store remains an outstanding opportunity for developers and a safe, trusted experience for our users. There are so many scam apps on the platform that it is hard to believe they are truly interested in having a safe, trusted experience for their users. -
By pradeepviswav · Posted
Google announces upgraded Gemini 2.5 Pro model with enhanced capabilities by Pradeep Viswanathan Google today announced an updated Gemini 2.5 model with several improvements that can be observed in popular AI benchmarks. Google particularly highlighted that the new Gemini 2.5 Preview 06-05 "Thinking" model performs better in coding, math, science, and reasoning. Last month, during Google I/O, Google released an updated version of the Gemini 2.5 Pro model with significant improvements. Today's update builds on the release of the previous month with further enhancements. In addition to benchmark improvements, based on user feedback, this updated Gemini 2.5 Pro model also comes with improved style and structure, which will result in creative and better-formatted responses for end users. You can find the benchmark comparison with other leading AI models below. As you can notice in the above table, this updated Gemini 2.5 Pro preview model is now SOTA (State-of-the-Art) in coding benchmarks like Aider Polyglot. It also scored SOTA performance on GPQA and Humanity’s Last Exam (HLE) benchmarks, which test math, science, knowledge, and reasoning capabilities. In real-world testing, this latest 2.5 Pro model scored 24 points better on LMArena, maintaining its lead, and a 35-point jump on WebDevArena at 1443. Developers can access this latest Gemini 2.5 Pro preview model through the Gemini API via Google AI Studio and Vertex AI. General consumers will be able to access this model via the Gemini app. Google also confirmed that the Gemini 2.5 Pro model will be generally available in a couple of weeks, allowing developers to start using it in production-ready enterprise-scale applications. -
-
-
Recent Achievements
-
survivor303 earned a badge
One Year In
-
jbatch earned a badge
Week One Done
-
Yianis earned a badge
First Post
-
GTRoberts went up a rank
Rookie
-
James courage Tabla earned a badge
First Post
-
-
Popular Contributors
-
Tell a friend
Question
Winston
Ok, this might be hard to understand but anyways:
i'm currently inheriting from the ListBox control and providing my own drawing code.
I'm drawing a gradient background on each listbox item. All fine, however the gradient i'm drawing is a little away from the edge of the actual rectangle so youll see some white space around the actual rectangle.
All fine till when you run it and when u resize the listbox, only the first item gets refreshed and draw appropriately.
If i drew the gradient so that it covered the whole rectangle up with no spaces between the edges, and if i resize it during runtime, all the items become drawn correctly.
Here's a screenshot of the issue when it's resized
http://www.ug.it.usyd.edu.au/~wpan6331/ss/ss.JPG
Has anyone experienced the same situation before?
Thanks
Link to comment
https://www.neowin.net/forum/topic/270286-drawing-problem-with-list-box-net/Share on other sites
13 answers to this question
Recommended Posts