How to add controls with black forecolor in aero glass
-
Hello, i've posted this in the VisualBasic .NET board, but now i've found the better one, the vista board, now... i've made an extended aero glass form with the DwmExtendFrameIntoClientArea. The problem now is, that i cannot see the text, because the ForeColor is Black and Vista makes everything is black transparent (like the glass effect), so how get i my text in black there? I know, i can draw the text, but i have so much controls and have there an textbox control, so i can't draw easily the text. Look at the MediaPlayer, at the bottom margin, there is the text of the song and so on and that's not drawed, but with an white shadow. Can somebody help me to get my Text in Black?
-
Hello, i've posted this in the VisualBasic .NET board, but now i've found the better one, the vista board, now... i've made an extended aero glass form with the DwmExtendFrameIntoClientArea. The problem now is, that i cannot see the text, because the ForeColor is Black and Vista makes everything is black transparent (like the glass effect), so how get i my text in black there? I know, i can draw the text, but i have so much controls and have there an textbox control, so i can't draw easily the text. Look at the MediaPlayer, at the bottom margin, there is the text of the song and so on and that's not drawed, but with an white shadow. Can somebody help me to get my Text in Black?
Use
DrawThemeTextEx()
. Check out Vista Goodies in C++: Using Glass in Your UI[^], the code is pretty straightforward so it shouldn't be too tough to port to VB.--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ"); Ford, what's this fish doing in my ear?
-
Use
DrawThemeTextEx()
. Check out Vista Goodies in C++: Using Glass in Your UI[^], the code is pretty straightforward so it shouldn't be too tough to port to VB.--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ"); Ford, what's this fish doing in my ear?
I've seen this tutorial, but is DrawThemeTextEx() not only for Labels or Text? I have an Problem with the TextBox Control too. Why i cannot get it like in the Explorer or the Internet Explorer, there is the font black too.?!?