C#, fontdialog doesn't show up on windows XP
I have a weird problem.
I am developing an application where the user can select a font from a fontdialog by clicking on a button.
The problem is when running on win XP the fon开发者_运维知识库tdialog doesn't show up. If I press ALT key it shows up (after I click on the font button).
I searched web for a solution and found a guy with similar problem and his quick solution was programmatically press ALT. Of course, how could I press ALT during/after fontdialog.ShowDialog()? It's not really clean, thought.
Thanks for any advice.
Petr
[resolved]
I had the buttons and stuff on a tabpage. And in it's paint method I had something which didn't belonged there. After I commented it out, it works!
Thanks
Petr
精彩评论