Click here to Skip to main content
15,917,455 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Zorder Pin
13-Sep-01 18:26
suss13-Sep-01 18:26 
GeneralI need to disable ESC key in ATL COM CAxDialogImpl... Pin
Matt Philmon13-Sep-01 13:50
Matt Philmon13-Sep-01 13:50 
GeneralRe: I need to disable ESC key in ATL COM CAxDialogImpl... Pin
Ben M. Stokland13-Sep-01 21:13
Ben M. Stokland13-Sep-01 21:13 
GeneralRe: I need to disable ESC key in ATL COM CAxDialogImpl... Pin
Matt Philmon14-Sep-01 4:20
Matt Philmon14-Sep-01 4:20 
GeneralHELP Pin
DanYELL13-Sep-01 12:35
DanYELL13-Sep-01 12:35 
GeneralRe: HELP Pin
Michael P Butler13-Sep-01 22:11
Michael P Butler13-Sep-01 22:11 
GeneralColoring text in an ATL Control Pin
lpvoid13-Sep-01 12:11
lpvoid13-Sep-01 12:11 
GeneralRe: Coloring text in an ATL Control Pin
Erik Thompson13-Sep-01 12:41
sitebuilderErik Thompson13-Sep-01 12:41 
You need to do it in the WM_CTLCOLORSTATIC message handler

From MSDN on WM_CTLCOLORSTATIC:
"A static control, or an edit control that is read-only or disabled, sends the WM_CTLCOLORSTATIC message to its parent window when the control is about to be drawn. By responding to this message, the parent window can use the specified device context handle to set the text and background colors of the static control."

Cheers,
-Erik
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My thoughts are my own and reflect on no other.
GeneralReading and writing bits. Pin
kakuni13-Sep-01 11:40
kakuni13-Sep-01 11:40 
GeneralRe: Reading and writing bits. Pin
Carlos Antollini13-Sep-01 11:48
Carlos Antollini13-Sep-01 11:48 
GeneralRe: Reading and writing bits. Pin
kakuni13-Sep-01 12:14
kakuni13-Sep-01 12:14 
GeneralRe: Reading and writing bits. Pin
User 988513-Sep-01 11:54
User 988513-Sep-01 11:54 
GeneralRe: Reading and writing bits. Pin
kakuni13-Sep-01 12:15
kakuni13-Sep-01 12:15 
GeneralKeeping a dialog on top of all other windows Pin
RobJones13-Sep-01 11:13
RobJones13-Sep-01 11:13 
GeneralRe: Keeping a dialog on top of all other windows Pin
Christian Graus13-Sep-01 11:22
protectorChristian Graus13-Sep-01 11:22 
GeneralRe: Keeping a dialog on top of all other windows Pin
RobJones13-Sep-01 11:32
RobJones13-Sep-01 11:32 
GeneralPassing hWnd to an ActiveX control Pin
bobby13-Sep-01 10:58
bobby13-Sep-01 10:58 
GeneralRe: Passing hWnd to an ActiveX control Pin
tonyschr13-Sep-01 11:10
tonyschr13-Sep-01 11:10 
GeneralRe: Passing hWnd to an ActiveX control Pin
bobby13-Sep-01 12:14
bobby13-Sep-01 12:14 
GeneralRe: Passing hWnd to an ActiveX control Pin
tonyschr13-Sep-01 12:23
tonyschr13-Sep-01 12:23 
GeneralRe: Passing hWnd to an ActiveX control Pin
bobby13-Sep-01 12:46
bobby13-Sep-01 12:46 
GeneralCalling a function callback on a specific known thread Pin
tonyschr13-Sep-01 10:57
tonyschr13-Sep-01 10:57 
GeneralRe: Calling a function callback on a specific known thread Pin
Tomasz Sowinski14-Sep-01 0:07
Tomasz Sowinski14-Sep-01 0:07 
GeneralRe: Calling a function callback on a specific known thread Pin
tonyschr14-Sep-01 7:52
tonyschr14-Sep-01 7:52 
GeneralRe: Calling a function callback on a specific known thread Pin
Tomasz Sowinski14-Sep-01 8:40
Tomasz Sowinski14-Sep-01 8:40 

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.