Click here to Skip to main content
15,895,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dialog app update windows Pin
Carlos Antollini25-Oct-01 8:42
Carlos Antollini25-Oct-01 8:42 
GeneralRe: dialog app update windows Pin
25-Oct-01 9:33
suss25-Oct-01 9:33 
GeneralCreating hands/fingers using OpenGL (w/ C++) Pin
PhiPhi25-Oct-01 6:53
PhiPhi25-Oct-01 6:53 
Generala question about the win2000 lib file.need help Pin
Ding Bing25-Oct-01 6:22
Ding Bing25-Oct-01 6:22 
GeneralRe: a question about the win2000 lib file.need help Pin
Christian Graus25-Oct-01 8:15
protectorChristian Graus25-Oct-01 8:15 
GeneralATL, ActiveX with normal control ( Buttons...) Pin
Braulio Dez25-Oct-01 6:19
Braulio Dez25-Oct-01 6:19 
QuestionWTL: How do I change the background color of a view? Pin
clintsinger25-Oct-01 6:17
clintsinger25-Oct-01 6:17 
AnswerRe: WTL: How do I change the background color of a view? Pin
Cris25-Oct-01 9:24
Cris25-Oct-01 9:24 
I'm using OnCtlColor event to paint the dialog background.

HBRUSH CMyClass::OnCtlColor(CDC* pDC,
CWnd* pWnd,
UINT nCtlColor)
{
switch (nCtlColor)
{
case CTLCOLOR_BTN:
case CTLCOLOR_STATIC:
pDC->SetBkMode(TRANSPARENT);
break;

case CTLCOLOR_DLG:
{
if (m_pBrush)
delete m_pBrush;

m_pBrush = new CBrush(m_dwCorBkgDlg);
return (HBRUSH) (m_pBrush->m_hObject);
}
}
return(CDialog::OnCtlColor(pDC, pWnd, nCtlColor));
}
and it's working well.

[]'s
GeneralRe: WTL: How do I change the background color of a view? Pin
clintsinger25-Oct-01 9:48
clintsinger25-Oct-01 9:48 
GeneralMacros question Pin
25-Oct-01 6:04
suss25-Oct-01 6:04 
GeneralRe: Macros question Pin
#realJSOP25-Oct-01 6:34
mve#realJSOP25-Oct-01 6:34 
GeneralRe: Macros question Pin
Tomasz Sowinski25-Oct-01 8:48
Tomasz Sowinski25-Oct-01 8:48 
GeneralRe: Macros question Pin
25-Oct-01 9:04
suss25-Oct-01 9:04 
GeneralRe: Macros question Pin
Tomasz Sowinski25-Oct-01 9:19
Tomasz Sowinski25-Oct-01 9:19 
GeneralRe: Macros question Pin
Todd Smith25-Oct-01 9:19
Todd Smith25-Oct-01 9:19 
GeneralRe: Macros question Pin
Todd Smith25-Oct-01 9:10
Todd Smith25-Oct-01 9:10 
GeneralRe: Macros question Pin
Tomasz Sowinski25-Oct-01 9:15
Tomasz Sowinski25-Oct-01 9:15 
QuestionAnyone compiled MSVCRTd.DLL (MSVC++ 6.0)? Pin
Robin Hilliard25-Oct-01 5:25
Robin Hilliard25-Oct-01 5:25 
AnswerRe: Anyone compiled MSVCRTd.DLL (MSVC++ 6.0)? Pin
Tomasz Sowinski25-Oct-01 8:43
Tomasz Sowinski25-Oct-01 8:43 
AnswerRe: Anyone compiled MSVCRTd.DLL (MSVC++ 6.0)? Pin
Alvaro Mendez25-Oct-01 11:52
Alvaro Mendez25-Oct-01 11:52 
GeneralGood CE source code snippets Pin
25-Oct-01 4:33
suss25-Oct-01 4:33 
GeneralSaving MDI Child Windows Pin
25-Oct-01 4:32
suss25-Oct-01 4:32 
GeneralRe: Saving MDI Child Windows Pin
Christian Graus25-Oct-01 8:21
protectorChristian Graus25-Oct-01 8:21 
QuestionHow to take over whole screen on CE / Pocket PC device. Pin
25-Oct-01 4:31
suss25-Oct-01 4:31 
Generalreading a string Pin
25-Oct-01 4:30
suss25-Oct-01 4:30 

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.