Click here to Skip to main content
15,910,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAre there is a function that return the current time in 12 BYTE ? Pin
23-Jul-01 8:21
suss23-Jul-01 8:21 
AnswerRe: Are there is a function that return the current time in 12 BYTE ? Pin
Michael Dunn23-Jul-01 10:31
sitebuilderMichael Dunn23-Jul-01 10:31 
GeneralConverting COLeDateTime Pin
23-Jul-01 8:19
suss23-Jul-01 8:19 
GeneralRe: Converting COLeDateTime Pin
Ben Burnett23-Jul-01 19:16
Ben Burnett23-Jul-01 19:16 
Generallibpng 16 Color Pin
23-Jul-01 7:50
suss23-Jul-01 7:50 
GeneralWMI Security Problem... Pin
Mario M.23-Jul-01 7:43
Mario M.23-Jul-01 7:43 
QuestionHow to change edit portion of CComboBox based on selection Pin
23-Jul-01 7:11
suss23-Jul-01 7:11 
GeneralCEdit Control Problem - Bkgr color Pin
Gerry23-Jul-01 6:50
Gerry23-Jul-01 6:50 
The edit control has a grey background & black text, but the grey background only fills as far as the text, the rest of the edit control's background is WHITE.

HOW CAN I FILL THE WHOLE BACKGROUND COLOR AS GREY.
edit controls properties is set at read-only.

OnCtlColor code.....
HBRUSH CRSStationDefOne::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);

if (nCtlColor==CTLCOLOR_EDIT)
{
CRSValueLoadApp* pApp = (CRSValueLoadApp*)AfxGetApp();
pDC->SetBkColor(pApp->BK_COLOR);
pDC->SetTextColor(pApp->FG_COLOR);
return hbr;
}
return NULL;
}


Gerry.
GeneralRe: CEdit Control Problem - Bkgr color Pin
23-Jul-01 17:25
suss23-Jul-01 17:25 
GeneralRe: CEdit Control Problem - Bkgr color Pin
23-Jul-01 17:25
suss23-Jul-01 17:25 
GeneralRe: CEdit Control Problem - Bkgr color Pin
Gerry23-Jul-01 22:35
Gerry23-Jul-01 22:35 
Generalremote files Pin
23-Jul-01 6:42
suss23-Jul-01 6:42 
GeneralRe: remote files Pin
Todd Smith23-Jul-01 7:37
Todd Smith23-Jul-01 7:37 
GeneralRe: remote files Pin
Anders Molin23-Jul-01 9:36
professionalAnders Molin23-Jul-01 9:36 
GeneralRe: remote files Pin
Carlos Antollini23-Jul-01 10:22
Carlos Antollini23-Jul-01 10:22 
GeneralUrgent::Problem in full-selection of rows in a List view Pin
manohar23-Jul-01 6:06
manohar23-Jul-01 6:06 
GeneralRe: Urgent::Problem in full-selection of rows in a List view Pin
Paolo Messina23-Jul-01 12:57
professionalPaolo Messina23-Jul-01 12:57 
GeneralCode Here Pin
manohar23-Jul-01 18:55
manohar23-Jul-01 18:55 
GeneralRe: Code Here Pin
Paolo Messina24-Jul-01 3:26
professionalPaolo Messina24-Jul-01 3:26 
Generaltype of parameters Pin
Gérald Mercet23-Jul-01 5:18
Gérald Mercet23-Jul-01 5:18 
GeneralRe: type of parameters Pin
Not Active23-Jul-01 9:11
mentorNot Active23-Jul-01 9:11 
GeneralMulti-Line VC Constants Pin
AJ12323-Jul-01 4:55
AJ12323-Jul-01 4:55 
GeneralRe: Multi-Line VC Constants Pin
23-Jul-01 5:08
suss23-Jul-01 5:08 
GeneralRe: Multi-Line VC Constants Pin
AJ12323-Jul-01 6:05
AJ12323-Jul-01 6:05 
GeneralNEED TO SET A DOUBLE BACKSLASH Pin
23-Jul-01 4:55
suss23-Jul-01 4:55 

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.