Click here to Skip to main content
15,918,168 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Socket programming Pin
xai16-Sep-02 13:54
xai16-Sep-02 13:54 
GeneralRe: Socket programming Pin
PJ Arends16-Sep-02 14:15
professionalPJ Arends16-Sep-02 14:15 
GeneralRe: Socket programming Pin
xai16-Sep-02 14:23
xai16-Sep-02 14:23 
QuestionHow to give arguments to Win32 application Pin
rsasalm_16-Sep-02 10:31
rsasalm_16-Sep-02 10:31 
AnswerRe: How to give arguments to Win32 application Pin
Michael Dunn16-Sep-02 11:18
sitebuilderMichael Dunn16-Sep-02 11:18 
AnswerRe: How to give arguments to Win32 application Pin
PJ Arends16-Sep-02 12:45
professionalPJ Arends16-Sep-02 12:45 
GeneralRe: How to give arguments to Win32 application Pin
rsasalm_16-Sep-02 23:48
rsasalm_16-Sep-02 23:48 
Generaltrying to find old post about EN_CHANGE Pin
ns16-Sep-02 8:59
ns16-Sep-02 8:59 
A few months ago someone had a tricky resolution to enabling a button only if the CEdit had text in it. It was really elegant and succint, but I cant find it by doing a search of CP messages. Anyways, I cant test this out at the moment but wil this work?


void CAddKeyword::OnChangeEditaddnewkeyword() 
{
	CString tempNKW;

	m_editAddNewKeyword.GetWindowText(tempNKW);

	if(tempNKW != "")	// TODO: Add extra initialization here
	m_editAddNewKeyword.EnableWindow(TRUE);
	// TODO: Add your control notification handler code here
	
}


In onInitDialog I had done:
m_editAddNewKeyword.EnableWindow(FALSE);


Thanks,
ns
GeneralRe: trying to find old post about EN_CHANGE Pin
jmkhael16-Sep-02 9:01
jmkhael16-Sep-02 9:01 
GeneralRe: trying to find old post about EN_CHANGE Pin
ns16-Sep-02 9:05
ns16-Sep-02 9:05 
GeneralRe: trying to find old post about EN_CHANGE Pin
Joaquín M López Muñoz16-Sep-02 9:08
Joaquín M López Muñoz16-Sep-02 9:08 
GeneralRe: trying to find old post about EN_CHANGE Pin
Roger Allen17-Sep-02 2:37
Roger Allen17-Sep-02 2:37 
GeneralRe: trying to find old post about EN_CHANGE Pin
ns17-Sep-02 2:54
ns17-Sep-02 2:54 
Generalcant figure out the simple logic!!! Pin
ns16-Sep-02 8:35
ns16-Sep-02 8:35 
GeneralRe: cant figure out the simple logic!!! Pin
jmkhael16-Sep-02 8:52
jmkhael16-Sep-02 8:52 
GeneralRe: cant figure out the simple logic!!! Pin
ns16-Sep-02 9:04
ns16-Sep-02 9:04 
GeneralRe: cant figure out the simple logic!!! Pin
Joaquín M López Muñoz16-Sep-02 9:04
Joaquín M López Muñoz16-Sep-02 9:04 
GeneralRe: cant figure out the simple logic!!! Pin
Pavel Klocek16-Sep-02 8:55
Pavel Klocek16-Sep-02 8:55 
GeneralRe: cant figure out the simple logic!!! Pin
Joaquín M López Muñoz16-Sep-02 9:03
Joaquín M López Muñoz16-Sep-02 9:03 
GeneralRe: cant figure out the simple logic!!! Pin
Bill Wilson16-Sep-02 11:10
Bill Wilson16-Sep-02 11:10 
QuestionHow do I change cursors? Pin
Nitron16-Sep-02 8:10
Nitron16-Sep-02 8:10 
AnswerRe: How do I change cursors? Pin
Renjith Ramachandran16-Sep-02 8:23
Renjith Ramachandran16-Sep-02 8:23 
GeneralRe: How do I change cursors? Pin
Nitron16-Sep-02 8:40
Nitron16-Sep-02 8:40 
GeneralRe: How do I change cursors? Pin
Chris Losinger16-Sep-02 8:51
professionalChris Losinger16-Sep-02 8:51 
AnswerRe: How do I change cursors? Pin
Michael Dunn16-Sep-02 11:16
sitebuilderMichael Dunn16-Sep-02 11: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.