Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CEdit transparent

Status
Not open for further replies.

ceodav

Programmer
Feb 21, 2003
106
IT
Hi,
i have a problem with the background of CEdit control.
I set the property pDC->SetBkMode(OPAQUE) on OnCtlColor function but at the same time i want the CEdti to be transparent because i set a bitmap as background of the Dialog...
The point is, i MUST use "OPAQUE" because wiht "TRANSPARENT" the numbers inside the CEdit do not refresh...
How to combine transparency and the ability to refresh the numbers like using pDC->SetBkMode(OPAQUE)?


I hope the problem is clear...sorry for my english....

thanks,
Davide
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top