Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: singleton inheritance Pin
Nibu babu thomas24-May-06 20:16
Nibu babu thomas24-May-06 20:16 
QuestionCRichEditCtrl Pin
VinayCool24-May-06 19:47
VinayCool24-May-06 19:47 
AnswerRe: CRichEditCtrl Pin
Nibu babu thomas24-May-06 20:25
Nibu babu thomas24-May-06 20:25 
AnswerRe: CRichEditCtrl Pin
Steve Echols24-May-06 20:30
Steve Echols24-May-06 20:30 
GeneralRe: CRichEditCtrl Pin
VinayCool24-May-06 20:44
VinayCool24-May-06 20:44 
GeneralRe: CRichEditCtrl [modified] Pin
Steve Echols24-May-06 21:05
Steve Echols24-May-06 21:05 
GeneralRe: CRichEditCtrl [modified] Pin
VinayCool24-May-06 21:37
VinayCool24-May-06 21:37 
AnswerRe: CRichEditCtrl Pin
_anil_24-May-06 20:36
_anil_24-May-06 20:36 
GeneralRe: CRichEditCtrl Pin
VinayCool24-May-06 20:46
VinayCool24-May-06 20:46 
AnswerRe: CRichEditCtrl Pin
NiceNaidu24-May-06 20:40
NiceNaidu24-May-06 20:40 
GeneralRe: CRichEditCtrl Pin
VinayCool24-May-06 20:48
VinayCool24-May-06 20:48 
AnswerRe: CRichEditCtrl Pin
Hamid_RT24-May-06 20:53
Hamid_RT24-May-06 20:53 
QuestionOverwrite message box while using SHFileOperation to copy a file Pin
zahid_ash24-May-06 19:41
zahid_ash24-May-06 19:41 
AnswerRe: Overwrite message box while using SHFileOperation to copy a file Pin
Hamid_RT24-May-06 20:04
Hamid_RT24-May-06 20:04 
GeneralRe: Overwrite message box while using SHFileOperation to copy a file Pin
zahid_ash24-May-06 20:09
zahid_ash24-May-06 20:09 
GeneralRe: Overwrite message box while using SHFileOperation to copy a file Pin
Nibu babu thomas24-May-06 20:14
Nibu babu thomas24-May-06 20:14 
QuestionBase64String Pin
satsumatable24-May-06 19:24
satsumatable24-May-06 19:24 
Questionhow to get the return value when we select a checkbox Pin
keerthikaaa24-May-06 19:21
keerthikaaa24-May-06 19:21 
AnswerRe: how to get the return value when we select a checkbox Pin
_anil_24-May-06 19:40
_anil_24-May-06 19:40 
AnswerRe: how to get the return value when we select a checkbox Pin
NiceNaidu24-May-06 19:57
NiceNaidu24-May-06 19:57 
QuestionSafeArray Pin
satsumatable24-May-06 17:51
satsumatable24-May-06 17:51 
QuestionMpeg Decoder Pin
jayashri200624-May-06 16:26
jayashri200624-May-06 16:26 
QuestionGetWindowText [modified] Pin
Sam 200624-May-06 15:13
Sam 200624-May-06 15:13 
hi,

i've got a problem with getwindowtext. i've spent at least an hour trying to figure out why this won't work. (sad, huh?) i have this code:
BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam)
{
    LPSTR title = "";
	CString thetitle = "";

	GetWindowText(hwnd, title, 100);
	thetitle = (CString) title;
AfxMessageBox(thetitle); //just to see its value
    if(thetitle == "...") {
       ...
	}

    return TRUE;
}

onSomeButtonClick...() {
	if(!EnumWindows((WNDENUMPROC) EnumWindowsProc, 0)) {
		...
	}
}
for some reason, thetitle is always blank. can someone tell me why this is happening? any tips for fixing this would help.

thanks.

-- modified at 21:14 Wednesday 24th May, 2006
AnswerRe: GetWindowText [modified] Pin
_anil_24-May-06 15:48
_anil_24-May-06 15:48 
GeneralRe: GetWindowText [modified] Pin
Sam 200624-May-06 16:09
Sam 200624-May-06 16:09 

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.