I want to use static buttons with invisible background to the text. does anyone know how to do that? I have a picture in the background, and when I use a static button, it has a gray background, which doesn't look nice at all....:-| !

Member Avatar for iamthwee

Just a guess, but couldn't you use a .gif picture with a transparent background?

Here are several MFC button controls -- if you are using pure win32 api functions you can just strip out the MFC code and call win32 api functions directly.

hmm, the last version of the Win32 API I used didn't allow for a transparent button background. But it didn't allow for pictures as backgrounds to windows either.

Of course that's the WinNT4 API, which is rather old :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.