how to know the control?
-
I an handling the CTLCOLOR_EDIT message in the OnCtlColor() to change the background color of Edit Box.But I am having two edit boxes IDC_EDIT1 and IDC_EDIT2.I want edit1 to be blue and edit2 to be red. How I will know the source of the CTLCOLOR_EDIT message?
-
I an handling the CTLCOLOR_EDIT message in the OnCtlColor() to change the background color of Edit Box.But I am having two edit boxes IDC_EDIT1 and IDC_EDIT2.I want edit1 to be blue and edit2 to be red. How I will know the source of the CTLCOLOR_EDIT message?
chikach wrote:
How I will know the source of the CTLCOLOR_EDIT message?
The second parameter.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
-
chikach wrote:
How I will know the source of the CTLCOLOR_EDIT message?
The second parameter.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius