Click here to Skip to main content
15,894,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WMI,gni gni gni gni gni Pin
Tcpip200514-Sep-05 4:06
Tcpip200514-Sep-05 4:06 
GeneralRe: WMI,gni gni gni gni gni Pin
Tcpip200514-Sep-05 3:22
Tcpip200514-Sep-05 3:22 
GeneralSorry,I'm so sorry.Code here Pin
Tcpip200514-Sep-05 3:53
Tcpip200514-Sep-05 3:53 
GeneralRe: Sorry,I'm so sorry.Code here Pin
David Crow14-Sep-05 8:41
David Crow14-Sep-05 8:41 
GeneralRe: Sorry,I'm so sorry.Code here Pin
G Haranadh15-Sep-05 1:10
G Haranadh15-Sep-05 1:10 
QuestionSOCKETS SUPPORT Pin
REU14-Sep-05 2:22
REU14-Sep-05 2:22 
AnswerRe: SOCKETS SUPPORT Pin
charlieg14-Sep-05 12:04
charlieg14-Sep-05 12:04 
QuestionHow to settle this problem Pin
momer14-Sep-05 1:17
momer14-Sep-05 1:17 
AnswerRe: How to settle this problem Pin
prasad_som14-Sep-05 1:52
prasad_som14-Sep-05 1:52 
QuestionLogin Dialog! Pin
DerDachs14-Sep-05 1:13
DerDachs14-Sep-05 1:13 
AnswerRe: Login Dialog! Pin
prasad_som14-Sep-05 1:40
prasad_som14-Sep-05 1:40 
AnswerRe: Login Dialog! Pin
ThatsAlok14-Sep-05 18:16
ThatsAlok14-Sep-05 18:16 
GeneralRe: Login Dialog! Pin
prasad_som14-Sep-05 20:41
prasad_som14-Sep-05 20:41 
QuestionHelp using sockets Pin
REU14-Sep-05 1:12
REU14-Sep-05 1:12 
QuestionI've written a service and it can't access mapped network drives. Why? Pin
Member 290251014-Sep-05 1:01
Member 290251014-Sep-05 1:01 
Questionword moving Pin
Balaji Krishna14-Sep-05 0:47
Balaji Krishna14-Sep-05 0:47 
AnswerRe: word moving Pin
Cedric Moonen14-Sep-05 1:02
Cedric Moonen14-Sep-05 1:02 
AnswerRe: word moving Pin
Eytukan14-Sep-05 3:05
Eytukan14-Sep-05 3:05 
GeneralRe: word moving Pin
ThatsAlok14-Sep-05 18:20
ThatsAlok14-Sep-05 18:20 
QuestionAbout Dialog Box : Plz Help Urgent Pin
parims14-Sep-05 0:26
parims14-Sep-05 0:26 
AnswerRe: About Dialog Box : Plz Help Urgent Pin
khan++14-Sep-05 0:42
khan++14-Sep-05 0:42 
parims wrote:
Plz Give the code to draw colourful dialog boxes.
means , to change back ground color and fore ground.
Plz give GUI of dialog boxes.


OK.
Handle the OnEraseBkgnd() like this:
.... OnEraseBkgnd(CDC* pDC)
{
CRect rect;
GetClientRect(&rect);
pDC->FillSolidRect(&rect,RGB(255,0,0));
return TRUE;
}
The events list for a dialog box does not normally display this message to be handled in VC6. You need to change the "Filter for messages.." combo box to "Window".
Now the background will be bright Red.
To change the foreground, do you mean Static text etc?
Then you will need to subclass the CStatic, and handle its painting yourself. You can find many CStatic samples here on CP.


this is this.
AnswerRe: About Dialog Box : Plz Help Urgent Pin
toxcct14-Sep-05 0:43
toxcct14-Sep-05 0:43 
Questionscaling.....help Pin
Raza568014-Sep-05 0:19
Raza568014-Sep-05 0:19 
AnswerRe: scaling.....help Pin
Bob Stanneveld14-Sep-05 0:51
Bob Stanneveld14-Sep-05 0:51 
QuestionBacking up the windows Registry Pin
rajeevktripathi14-Sep-05 0:17
rajeevktripathi14-Sep-05 0:17 

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.