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

C / C++ / MFC

 
AnswerRe: ListBox OnDblclkSout() Event Pin
Maxwell Chen22-May-06 1:03
Maxwell Chen22-May-06 1:03 
NewsRe: ListBox OnDblclkSout() Event Pin
Rudolf Jan22-May-06 0:28
Rudolf Jan22-May-06 0:28 
QuestionHow to use graphics in win32 console application Pin
kflrei21-May-06 22:45
kflrei21-May-06 22:45 
AnswerRe: How to use graphics in win32 console application Pin
Cedric Moonen21-May-06 22:51
Cedric Moonen21-May-06 22:51 
AnswerRe: How to use graphics in win32 console application Pin
Nibu babu thomas21-May-06 22:57
Nibu babu thomas21-May-06 22:57 
AnswerRe: How to use graphics in win32 console application Pin
ThatsAlok22-May-06 4:02
ThatsAlok22-May-06 4:02 
GeneralRe: How to use graphics in win32 console application Pin
kflrei25-May-06 23:58
kflrei25-May-06 23:58 
QuestionEdit Box Pin
VinayCool21-May-06 22:19
VinayCool21-May-06 22:19 
Hi,

I have 2 edit box in my dialog m_INDEX_FILE & m_WORD & a Search button.
on the OnSearch()i want to check if the user has entered data or not if the user has not entered data then i want to disply a message box for that i have used below code. but the problem is below code has no effect ...can u please tell what changes has to be made....

void CSearchDlg::OnSearch()
{
UpdateData(TRUE);
if (m_INDEX_FILE.GetLength() < 0 )
{
MessageBox("Select the Index File before searching !","Asis Search Engine",MB_OK | MB_ICONINFORMATION);
return;
}

if (m_WORD.GetLength() < 0 )
{
MessageBox("Enter the word to be searched","Asis Search Engine",MB_OK | MB_ICONINFORMATION);
return;
}
}

Regards,
Vinay Charan.
AnswerRe: Edit Box Pin
Hamid_RT21-May-06 22:23
Hamid_RT21-May-06 22:23 
AnswerRe: Edit Box Pin
GDavy21-May-06 22:25
GDavy21-May-06 22:25 
AnswerRe: Edit Box Pin
Hamid_RT21-May-06 22:29
Hamid_RT21-May-06 22:29 
AnswerRe: Edit Box Pin
eli1502197921-May-06 22:32
eli1502197921-May-06 22:32 
AnswerRe: Edit Box Pin
Laxman Auti21-May-06 22:49
Laxman Auti21-May-06 22:49 
AnswerRe: Edit Box Pin
VinayCool21-May-06 23:05
VinayCool21-May-06 23:05 
AnswerRe: Edit Box Pin
ThatsAlok22-May-06 4:01
ThatsAlok22-May-06 4:01 
QuestionCan any body give solution to my problem.. Pin
D.Srihari21-May-06 21:48
D.Srihari21-May-06 21:48 
GeneralRe: Can any body give solution to my problem.. Pin
Laxman Auti21-May-06 22:39
Laxman Auti21-May-06 22:39 
AnswerRe: Can any body give solution to my problem.. Pin
Ramu.e21-May-06 22:41
Ramu.e21-May-06 22:41 
QuestionIterating a folder Pin
atimpoo21-May-06 21:39
atimpoo21-May-06 21:39 
AnswerRe: Iterating a folder [modified] Pin
Nibu babu thomas21-May-06 21:40
Nibu babu thomas21-May-06 21:40 
AnswerRe: Iterating a folder Pin
ThatsAlok22-May-06 0:40
ThatsAlok22-May-06 0:40 
QuestionFonts Pin
Sarath C21-May-06 21:18
Sarath C21-May-06 21:18 
AnswerRe: Fonts Pin
Laxman Auti21-May-06 22:32
Laxman Auti21-May-06 22:32 
GeneralRe: Fonts Pin
Hamid_RT21-May-06 22:37
Hamid_RT21-May-06 22:37 
GeneralRe: Fonts Pin
ThatsAlok22-May-06 0:38
ThatsAlok22-May-06 0:38 

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.