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

C / C++ / MFC

 
QuestionDoes anybody know how to change menu's background color? Pin
Peter, Chan15-Aug-07 23:03
Peter, Chan15-Aug-07 23:03 
AnswerRe: Does anybody know how to change menu's background color? Pin
Iain Clarke, Warrior Programmer16-Aug-07 1:30
Iain Clarke, Warrior Programmer16-Aug-07 1:30 
AnswerRe: Does anybody know how to change menu's background color? Pin
Hamid_RT16-Aug-07 2:29
Hamid_RT16-Aug-07 2:29 
GeneralRe: Does anybody know how to change menu's background color? Pin
Peter, Chan16-Aug-07 15:54
Peter, Chan16-Aug-07 15:54 
GeneralRe: Does anybody know how to change menu's background color? Pin
Hamid_RT18-Aug-07 19:34
Hamid_RT18-Aug-07 19:34 
QuestionDetect the existing web browsers in a system Pin
kiranin15-Aug-07 22:07
kiranin15-Aug-07 22:07 
AnswerRe: Detect the existing web browsers in a system Pin
David Crow16-Aug-07 3:06
David Crow16-Aug-07 3:06 
QuestionActive window holding problem Pin
john563215-Aug-07 22:00
john563215-Aug-07 22:00 
Hi
I wrote the code for minimising the application that are active while I launch my application.

But one error is coming "cannot convert from 'HWND' to 'CWnd *'"

CString szTitle;
CWnd *pTopWnd;
UINT cmd=GW_HWNDFIRST;

while (pTopWnd=GetWindow(NULL,cmd))
{
pTopWnd->GetWindowText(szTitle);
if(szTitle.Find("MyApp.EXE")>=0)
pTopWnd->ShowWindow(SW_HIDE);

cmd=GW_HWNDNEXT;
}

Plz tell the solution
AnswerRe: Active window holding problem Pin
sw@thi15-Aug-07 22:30
sw@thi15-Aug-07 22:30 
GeneralRe: Active window holding problem Pin
john563215-Aug-07 23:17
john563215-Aug-07 23:17 
GeneralRe: Active window holding problem Pin
sw@thi16-Aug-07 0:30
sw@thi16-Aug-07 0:30 
QuestionRe: Active window holding problem Pin
David Crow16-Aug-07 3:10
David Crow16-Aug-07 3:10 
Questionwhat does the non-maskable interrupt do? Pin
zon_cpp15-Aug-07 21:31
zon_cpp15-Aug-07 21:31 
AnswerRe: what does the non-maskable interrupt do? Pin
markkuk15-Aug-07 22:37
markkuk15-Aug-07 22:37 
AnswerRe: what does the non-maskable interrupt do? Pin
John R. Shaw15-Aug-07 22:48
John R. Shaw15-Aug-07 22:48 
AnswerRe: what does the non-maskable interrupt do? Pin
James R. Twine16-Aug-07 2:35
James R. Twine16-Aug-07 2:35 
QuestionTo Enable A Non-maskable Interrupt Pin
zon_cpp15-Aug-07 21:21
zon_cpp15-Aug-07 21:21 
AnswerRe: To Enable A Non-maskable Interrupt Pin
markkuk15-Aug-07 22:34
markkuk15-Aug-07 22:34 
QuestionCString return Pin
tyagineha15-Aug-07 20:53
tyagineha15-Aug-07 20:53 
AnswerRe: CString return Pin
karle15-Aug-07 21:21
karle15-Aug-07 21:21 
GeneralRe: CString return Pin
tyagineha15-Aug-07 21:33
tyagineha15-Aug-07 21:33 
GeneralRe: CString return Pin
jhwurmbach15-Aug-07 21:39
jhwurmbach15-Aug-07 21:39 
GeneralRe: CString return Pin
tyagineha15-Aug-07 22:10
tyagineha15-Aug-07 22:10 
GeneralRe: CString return Pin
jhwurmbach15-Aug-07 22:12
jhwurmbach15-Aug-07 22:12 
GeneralRe: CString return Pin
tyagineha15-Aug-07 22:16
tyagineha15-Aug-07 22:16 

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.