Skip to main content
gamedev.net
🔒 Locked

[.net] mdx + winforms problem

Started by braten 1 reply 1.2k views
Original Post
braten
braten
I programmed an application that has to display a lot of graphic stuff (in a panel) and gdi is to slow for that. Beside the graphic stuff 10 buttons are displayed on the form. Now I switched over to MDX1.1. I create a mdx-device which paints on my panel. But all my buttons are not displayed anymore. They are now transparent. When I click on them they get displayed correctly. Does anybody faced the same problem? Can anybody tell me what to do? thanks in advance bra10
Instruo
Instruo
Do the GDI buttons share the same screen space as the panel? If that's the case, that would explain your problem as both GDI and DX are trying to draw in the same area.
"Game Programming" in an of itself does not exist. We learn to program and then use that knowledge to make games.
braten
braten
no, they do not share the same screen space

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.