Click here to Skip to main content
15,908,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: static in class Pin
James R. Twine12-Apr-02 20:15
James R. Twine12-Apr-02 20:15 
GeneralVisual Studio .net offer Pin
CodeProjectSQ10-Apr-02 14:10
CodeProjectSQ10-Apr-02 14:10 
GeneralRe: Visual Studio .net offer Pin
CodeProjectSQ12-Apr-02 16:06
CodeProjectSQ12-Apr-02 16:06 
GeneralTab Contol on a dialog box Pin
10-Apr-02 13:07
suss10-Apr-02 13:07 
GeneralRe: Tab Contol on a dialog box Pin
Shog910-Apr-02 13:30
sitebuilderShog910-Apr-02 13:30 
Generalquick question on color Pin
jafrazee10-Apr-02 12:30
jafrazee10-Apr-02 12:30 
GeneralRe: quick question on color Pin
Shog910-Apr-02 12:43
sitebuilderShog910-Apr-02 12:43 
GeneralRe: quick question on color Pin
jafrazee10-Apr-02 14:00
jafrazee10-Apr-02 14:00 
no i am using setbkcolor()
this is the onctlcolor
it works the ok but it only changes the color behind the text not all the background of the control. if there is no text the color will not change at all.
when i want the color to change i call Invalidate()
HBRUSH PREFS::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);
int nCtrl = pWnd ->GetDlgCtrlID();
switch(nCtrl){
case IDC_BCOLOR:
pDC->SetBkColor(RGB(m_red,m_green,m_blue));
break;
/////////////////////plus more
}
return hbr;
}
GeneralRe: quick question on color Pin
Shog910-Apr-02 18:35
sitebuilderShog910-Apr-02 18:35 
GeneralRe: quick question on color Pin
jafrazee11-Apr-02 0:42
jafrazee11-Apr-02 0:42 
GeneralRe: quick question on color Pin
Jeremy Falcon10-Apr-02 13:46
professionalJeremy Falcon10-Apr-02 13:46 
GeneralConversion from Integers to Character String Pin
pjb78910-Apr-02 11:41
pjb78910-Apr-02 11:41 
GeneralRe: Conversion from Integers to Character String Pin
Joaquín M López Muñoz10-Apr-02 11:56
Joaquín M López Muñoz10-Apr-02 11:56 
GeneralFinding if an app is running, not using FindWindow Pin
Atlantys10-Apr-02 10:46
Atlantys10-Apr-02 10:46 
GeneralRe: Finding if an app is running, not using FindWindow Pin
Joaquín M López Muñoz10-Apr-02 10:49
Joaquín M López Muñoz10-Apr-02 10:49 
GeneralRe: Finding if an app is running, not using FindWindow Pin
Atlantys10-Apr-02 11:12
Atlantys10-Apr-02 11:12 
GeneralRe: Finding if an app is running, not using FindWindow Pin
Joaquín M López Muñoz10-Apr-02 11:49
Joaquín M López Muñoz10-Apr-02 11:49 
GeneralProgrammatically setting IE's homepage (how?) Pin
Oz Ben Eliezer10-Apr-02 10:36
Oz Ben Eliezer10-Apr-02 10:36 
GeneralRe: Programmatically setting IE's homepage (how?) Pin
Joaquín M López Muñoz10-Apr-02 10:59
Joaquín M López Muñoz10-Apr-02 10:59 
GeneralRe: Programmatically setting IE's homepage (how?) Pin
Oz Ben Eliezer11-Apr-02 2:39
Oz Ben Eliezer11-Apr-02 2:39 
GeneralModeless dialogs and OnOK Pin
Derek Lakin10-Apr-02 10:15
Derek Lakin10-Apr-02 10:15 
GeneralRe: Modeless dialogs and OnOK Pin
Joaquín M López Muñoz10-Apr-02 10:15
Joaquín M López Muñoz10-Apr-02 10:15 
GeneralRe: Modeless dialogs and OnOK Pin
Derek Lakin10-Apr-02 10:25
Derek Lakin10-Apr-02 10:25 
GeneralRe: Modeless dialogs and OnOK Pin
Joaquín M López Muñoz10-Apr-02 10:29
Joaquín M López Muñoz10-Apr-02 10:29 
GeneralRe: Modeless dialogs and OnOK Pin
Derek Lakin10-Apr-02 10:33
Derek Lakin10-Apr-02 10:33 

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.