Click here to Skip to main content
15,907,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: When a Non-Modal Window is Closed which Even Is fired Pin
CPallini25-Aug-08 2:30
mveCPallini25-Aug-08 2:30 
AnswerRe: When a Non-Modal Window is Closed which Even Is fired Pin
DSPCottage25-Aug-08 2:52
DSPCottage25-Aug-08 2:52 
GeneralRe: When a Non-Modal Window is Closed which Even Is fired Pin
Jijo.Raj25-Aug-08 3:02
Jijo.Raj25-Aug-08 3:02 
QuestionRe: When a Non-Modal Window is Closed which Even Is fired Pin
Mark Salsbery25-Aug-08 5:42
Mark Salsbery25-Aug-08 5:42 
Questionhow to set color of static labels using MFC [modified] Pin
Dhiraj kumar Saini25-Aug-08 1:52
Dhiraj kumar Saini25-Aug-08 1:52 
AnswerRe: how to set color of static labels Pin
Jijo.Raj25-Aug-08 1:56
Jijo.Raj25-Aug-08 1:56 
GeneralRe: how to set color of static labels Pin
Dhiraj kumar Saini25-Aug-08 2:00
Dhiraj kumar Saini25-Aug-08 2:00 
GeneralRe: how to set color of static labels Pin
_AnsHUMAN_ 25-Aug-08 2:07
_AnsHUMAN_ 25-Aug-08 2:07 
Dhiraj kumar Saini wrote:
I am using MFC and not win32.

gr8, and mfc is just a wrapper over win32.
In OnCtlColor of your class do this
if(pWnd->GetDlgCtrlID ()==IDC_STATIC1) //id of static control
{
pDC->SetTextColor(RGB(255,0,0));

}


Somethings seem HARD to do, until we know how to do them.
Wink | ;-) _AnShUmAn_

GeneralRe: how to set color of static labels Pin
Jijo.Raj25-Aug-08 2:08
Jijo.Raj25-Aug-08 2:08 
GeneralRe: how to set color of static labels Pin
santhoshv8425-Aug-08 2:13
santhoshv8425-Aug-08 2:13 
GeneralRe: how to set color of static labels Pin
CPallini25-Aug-08 2:14
mveCPallini25-Aug-08 2:14 
GeneralRe: how to set color of static labels Pin
Dhiraj kumar Saini25-Aug-08 3:02
Dhiraj kumar Saini25-Aug-08 3:02 
AnswerRe: how to set color of static labels using MFC Pin
David Crow25-Aug-08 4:46
David Crow25-Aug-08 4:46 
QuestionBest way to create a dialog-based app displaying several dialog pages, similar to Microsoft Installer Engine Pin
Erik25-Aug-08 1:46
Erik25-Aug-08 1:46 
AnswerRe: Best way to create a dialog-based app displaying several dialog pages, similar to Microsoft Installer Engine [modified] Pin
Jijo.Raj25-Aug-08 2:00
Jijo.Raj25-Aug-08 2:00 
QuestionAutomatic Copy Pin
polopo25-Aug-08 0:59
polopo25-Aug-08 0:59 
AnswerRe: Automatic Copy Pin
Rajesh R Subramanian25-Aug-08 1:14
professionalRajesh R Subramanian25-Aug-08 1:14 
GeneralRe: Automatic Copy Pin
ThatsAlok25-Aug-08 1:25
ThatsAlok25-Aug-08 1:25 
GeneralRe: Automatic Copy Pin
Rajesh R Subramanian25-Aug-08 1:45
professionalRajesh R Subramanian25-Aug-08 1:45 
GeneralRe: Automatic Copy Pin
polopo25-Aug-08 1:54
polopo25-Aug-08 1:54 
QuestionRe: Automatic Copy Pin
CPallini25-Aug-08 2:26
mveCPallini25-Aug-08 2:26 
GeneralRe: Automatic Copy Pin
ThatsAlok25-Aug-08 1:25
ThatsAlok25-Aug-08 1:25 
GeneralRe: Automatic Copy Pin
CPallini25-Aug-08 2:03
mveCPallini25-Aug-08 2:03 
GeneralRe: Automatic Copy Pin
vcprog25-Aug-08 2:18
vcprog25-Aug-08 2:18 
GeneralRe: Automatic Copy Pin
CPallini25-Aug-08 2:28
mveCPallini25-Aug-08 2:28 

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.