Click here to Skip to main content
15,886,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Activating global function Pin
Viorel.9-Jul-06 22:29
Viorel.9-Jul-06 22:29 
GeneralRe: Activating global function Pin
AlonYair9-Jul-06 23:07
AlonYair9-Jul-06 23:07 
GeneralRe: Activating global function Pin
Viorel.9-Jul-06 23:40
Viorel.9-Jul-06 23:40 
GeneralRe: Activating global function Pin
AlonYair10-Jul-06 3:22
AlonYair10-Jul-06 3:22 
GeneralRe: Activating global function Pin
Viorel.10-Jul-06 3:43
Viorel.10-Jul-06 3:43 
QuestionStructure and CPtrList Pin
Anu_Bala9-Jul-06 19:58
Anu_Bala9-Jul-06 19:58 
AnswerRe: Structure and CPtrList Pin
Sarath C9-Jul-06 21:02
Sarath C9-Jul-06 21:02 
Questionedit box with read only properties and color text Pin
Manjunath S9-Jul-06 19:56
Manjunath S9-Jul-06 19:56 
Hi,
I created a dialog using createdialog() in win32 program .And in that in created a edit box using createwindow.
I have handled WM_CTLCOLOREDIT like this

case WM_CTLCOLOREDIT:


hdc = (HDC)wParam;
SetTextColor(hdc, RGB(0,0,255));

hdc3 = GetDC(c_hwnd);//c_hwnd is handle to button

crBkgnd = GetBkColor(hdc3);
SetBkColor(hdc,crBkgnd);
GetSysColorBrush(COLOR_3DHILIGHT);
break;


here only i can see the change of color in text but background color is not changing to button default color (color is specified in code using crBkgnd)..
whenever text appears background color will be white...

Thanking you

Manjunath S
GESL
Bangalore
AnswerRe: edit box with read only properties and color text Pin
Naveen9-Jul-06 20:08
Naveen9-Jul-06 20:08 
QuestionRe: edit box with read only properties and color text Pin
Manjunath S9-Jul-06 21:01
Manjunath S9-Jul-06 21:01 
AnswerRe: edit box with read only properties and color text Pin
Naveen9-Jul-06 21:23
Naveen9-Jul-06 21:23 
AnswerRe: edit box with read only properties and color text Pin
Hamid_RT9-Jul-06 21:32
Hamid_RT9-Jul-06 21:32 
AnswerRe: edit box with read only properties and color text Pin
Hamid_RT9-Jul-06 20:23
Hamid_RT9-Jul-06 20:23 
QuestionCreating Win32 DLL in Vs.Net Pin
Abhi Lahare9-Jul-06 19:56
Abhi Lahare9-Jul-06 19:56 
AnswerRe: Creating Win32 DLL in Vs.Net Pin
AlonYair9-Jul-06 20:13
AlonYair9-Jul-06 20:13 
GeneralRe: Creating Win32 DLL in Vs.Net Pin
Abhi Lahare10-Jul-06 18:51
Abhi Lahare10-Jul-06 18:51 
AnswerRe: Creating Win32 DLL in Vs.Net Pin
Hamid_RT9-Jul-06 20:25
Hamid_RT9-Jul-06 20:25 
QuestionCImageList for CTreeCtrl Pin
anu_889-Jul-06 19:45
anu_889-Jul-06 19:45 
AnswerRe: CImageList for CTreeCtrl Pin
Abhi Lahare9-Jul-06 19:53
Abhi Lahare9-Jul-06 19:53 
AnswerRe: CImageList for CTreeCtrl Pin
FarPointer9-Jul-06 20:19
FarPointer9-Jul-06 20:19 
AnswerRe: CImageList for CTreeCtrl Pin
Hamid_RT9-Jul-06 20:26
Hamid_RT9-Jul-06 20:26 
QuestionRe: CImageList for CTreeCtrl [modified] Pin
anu_889-Jul-06 20:57
anu_889-Jul-06 20:57 
AnswerRe: CImageList for CTreeCtrl Pin
Hamid_RT9-Jul-06 21:07
Hamid_RT9-Jul-06 21:07 
QuestionRe: CImageList for CTreeCtrl Pin
anu_889-Jul-06 21:14
anu_889-Jul-06 21:14 
AnswerRe: CImageList for CTreeCtrl Pin
Hamid_RT9-Jul-06 21:23
Hamid_RT9-Jul-06 21:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.