Pelles C > Projects developed with Pelles C

PassGenWin, XorCryptWin and RandFileGen

<< < (2/2)

Snowman:

--- Quote from: Sam Steele on February 27, 2016, 12:19:17 AM ---You are right. The icon image is not scaled very well. Maybe use the × U+00D7 Alt+0215 Multiplication character on a normal button. If you want the text red you could subclass it.

--- End quote ---

That seems like a good idea however I don't know how "subclassing" would help change the text color. Is this the subclassing you are talking about? (Otherwise please provide a new link.)

Also do you happen to use TRNGs? I intend to code Winsock and Serial plugins for both my programs in order to fetch random data from TRNG devices, and it would help if someone could test that too.

Sam Steele:
Researching it, I think sub-classing won’t work. You could try BS_OWNERDRAW and draw the red text yourself. See this project: https://www.google.com.au/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjKhJXf1ZzLAhVGtpQKHbcUAvsQFggeMAA&url=http%3A%2F%2Fwww.codeproject.com%2FArticles%2F3269%2FNative-Win-Theme-aware-Owner-draw-Controls-witho&usg=AFQjCNFGe2vhNeO0F-qQX5E1-AoSjRyfxA&bvm=bv.115339255,d.dGo

correosdelbosque:
I have W7 64 bits I will try your tools and later gonna post the info 8) 8) 8) :P

Navigation

[0] Message Index

[*] Previous page

Go to full version