Making CEdit Transparent
-
I want a edit box to get transparent upto a level on mouse leave or when lost of focus from edit box. The edit box will get fully visible on Setfocus or mousehover.
-@SuDhIrKuMaR@-
-
I want a edit box to get transparent upto a level on mouse leave or when lost of focus from edit box. The edit box will get fully visible on Setfocus or mousehover.
-@SuDhIrKuMaR@-
You'd have to experiment, but I think you can handle the WM_CTLCOLOREDIT message and set a brush for the background of the edit box. You can detect whether the edit box has focus or not, and set different backgrounds. If one brush looks a lot like your dialog background, then transparency! Or perhaps you can set a NULL brush? I hope that gives you something to work with. Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
-
I want a edit box to get transparent upto a level on mouse leave or when lost of focus from edit box. The edit box will get fully visible on Setfocus or mousehover.
-@SuDhIrKuMaR@-