Click here to Skip to main content
15,922,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNeed some help(Beginner) Pin
Fightingbee11-Jul-03 19:43
Fightingbee11-Jul-03 19:43 
GeneralRe: Need some help(Beginner) Pin
Michael Dunn11-Jul-03 20:09
sitebuilderMichael Dunn11-Jul-03 20:09 
GeneralRe: Need some help(Beginner) Pin
Fightingbee11-Jul-03 20:21
Fightingbee11-Jul-03 20:21 
GeneralRe: Need some help(Beginner) Pin
Michael P Butler11-Jul-03 21:43
Michael P Butler11-Jul-03 21:43 
GeneralRe: Need some help(Beginner) Pin
Fightingbee12-Jul-03 5:54
Fightingbee12-Jul-03 5:54 
GeneralRe: Need some help(Beginner) Pin
Snyp12-Jul-03 6:33
Snyp12-Jul-03 6:33 
GeneralChanging Font Pin
Kristian Kratzenstein11-Jul-03 19:39
Kristian Kratzenstein11-Jul-03 19:39 
GeneralRe: Changing Font Pin
hongge11-Jul-03 20:29
hongge11-Jul-03 20:29 
Smile | :) 我觉得状态栏的文字给对话框的文字一样呀!你同样可以采用在对话框中的方法
下面是我的做法:
HBRUSH CXXXX::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);

// TODO: Change any attributes of the DC here
/************************************************************************/

if ((nCtlColor == CTLCOLOR_STATIC ))
{
pDC->SetBkMode(TRANSPARENT);
int nID = pWnd->GetDlgCtrlID();
if( (nID == CONTROL'S ID ))
{
pDC->SetTextColor(RGB(255,0,0));
pDC->SetBkColor(TRANSPARENT);
//pDC->SetBkColor(RGB(255,255,255));
}

HBRUSH hbr = ::CreateSolidBrush(RGB(248,251,255));
return hbr;
}

// TODO: Return a different brush if the default is not desired

/************************************************************************/
return hbr;
}

GeneralRe: Changing Font Pin
Kristian Kratzenstein11-Jul-03 21:10
Kristian Kratzenstein11-Jul-03 21:10 
GeneralRe: Changing Font Pin
pranavamhari11-Jul-03 22:35
pranavamhari11-Jul-03 22:35 
GeneralRe: Changing Font Pin
Kristian Kratzenstein12-Jul-03 6:21
Kristian Kratzenstein12-Jul-03 6:21 
GeneralOn Un-minimizing information stored in array is not shown. Pin
Terry Eff11-Jul-03 19:04
Terry Eff11-Jul-03 19:04 
Questionhow text can display in spiral form Pin
Member 47204511-Jul-03 15:01
Member 47204511-Jul-03 15:01 
AnswerRe: how text can display in spiral form Pin
Anthony_Yio15-Jul-03 1:23
Anthony_Yio15-Jul-03 1:23 
AnswerRe: how text can display in spiral form Pin
Anthony_Yio15-Jul-03 1:23
Anthony_Yio15-Jul-03 1:23 
Questionwhat is the different between the DLL and application Pin
gdzfy11-Jul-03 14:33
gdzfy11-Jul-03 14:33 
AnswerRe: what is the different between the DLL and application Pin
gdzfy11-Jul-03 14:34
gdzfy11-Jul-03 14:34 
GeneralRe: what is the different between the DLL and application Pin
John M. Drescher11-Jul-03 17:49
John M. Drescher11-Jul-03 17:49 
GeneralRe: what is the different between the DLL and application Pin
Snyp12-Jul-03 6:37
Snyp12-Jul-03 6:37 
GeneralThreads and ~Component Pin
Paul Farry11-Jul-03 14:31
professionalPaul Farry11-Jul-03 14:31 
GeneralRe: Threads and ~Component Pin
Ryan Binns11-Jul-03 16:05
Ryan Binns11-Jul-03 16:05 
GeneralContext Menu Cursor Problem Pin
dWorkVan11-Jul-03 13:55
dWorkVan11-Jul-03 13:55 
GeneralRe: Context Menu Cursor Problem Pin
Mike Nordell12-Jul-03 4:21
Mike Nordell12-Jul-03 4:21 
GeneralRe: Context Menu Cursor Problem Pin
dWorkVan14-Jul-03 7:10
dWorkVan14-Jul-03 7:10 
Generalerror C1010 help... Pin
JoeSox11-Jul-03 11:45
JoeSox11-Jul-03 11:45 

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.