Click here to Skip to main content
15,887,453 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldisable/enable toolbar buttons in a dialog Pin
Marissa18230-Jul-03 20:17
Marissa18230-Jul-03 20:17 
GeneralRe: disable/enable toolbar buttons in a dialog Pin
Toni7830-Jul-03 21:04
Toni7830-Jul-03 21:04 
GeneralRe: disable/enable toolbar buttons in a dialog Pin
Marissa18230-Jul-03 22:50
Marissa18230-Jul-03 22:50 
GeneralRe: disable/enable toolbar buttons in a dialog Pin
Marissa18230-Jul-03 22:54
Marissa18230-Jul-03 22:54 
QuestionHow to save Directory list for each project in VC++6.0? Pin
sonshiro30-Jul-03 18:30
sonshiro30-Jul-03 18:30 
AnswerRe: How to save Directory list for each project in VC++6.0? Pin
Frank K30-Jul-03 19:40
Frank K30-Jul-03 19:40 
QuestionHow to convert "CRichEditCtrl::GetSel index" to "CString(char*) index"? Pin
jajamal30-Jul-03 18:28
jajamal30-Jul-03 18:28 
QuestionODBC.. Filter ???? Pin
_skidrow_vn_30-Jul-03 18:08
_skidrow_vn_30-Jul-03 18:08 
table = "account"<br />
<br />
---------------------<br />
 ID	  	Pass <br />
---------------------<br />
"user1"		"abc"<br />
"user2"		"xyz"<br />
"user3"		"y3z"<br />
<br />
<br />
.......<br />
DDX_Control(pDX, IDC_EDIT1, m_ID);<br />
......<br />
<br />
void login::OnOk() <br />
{<br />
	CString strID;<br />
	m_ID.GetWindowText(strID);<br />
	m_pSet->m_strFilter = "ID = " + strID; <br />
	AfxMessageBox(m_pSet->m_Pass);<br />
}


when I typed "user2" or "user3" into edit control (IDC_EDIT1) , these code always show Messagebox with "abc" :eek Frown | :( ( Dead | X|
how can I do to achieve correct password "xyz" when typed "user2" Confused | :confused: ?
thanks
AnswerRe: ODBC.. Filter ???? Pin
Toni7830-Jul-03 19:04
Toni7830-Jul-03 19:04 
GeneralRe: ODBC.. Filter ???? Pin
_skidrow_vn_31-Jul-03 6:11
_skidrow_vn_31-Jul-03 6:11 
GeneralRe: ODBC.. Filter ???? Pin
Toni7831-Jul-03 19:14
Toni7831-Jul-03 19:14 
GeneralDisable/Enable Toolbar buttons Pin
Anonymous30-Jul-03 17:16
Anonymous30-Jul-03 17:16 
GeneralRe: Disable/Enable Toolbar buttons Pin
Eugene Pustovoyt30-Jul-03 18:16
Eugene Pustovoyt30-Jul-03 18:16 
GeneralRe: Disable/Enable Toolbar buttons Pin
Marissa18230-Jul-03 18:50
Marissa18230-Jul-03 18:50 
GeneralResizing Status Bar Panes Pin
Anonymous30-Jul-03 17:08
Anonymous30-Jul-03 17:08 
GeneralRe: Resizing Status Bar Panes Pin
Frank K30-Jul-03 19:34
Frank K30-Jul-03 19:34 
GeneralRe: Resizing Status Bar Panes Pin
Marissa18230-Jul-03 20:11
Marissa18230-Jul-03 20:11 
GeneralRe: Resizing Status Bar Panes Pin
Frank K31-Jul-03 20:12
Frank K31-Jul-03 20:12 
QuestionmciSendString? Pin
DaveE9th30-Jul-03 16:43
DaveE9th30-Jul-03 16:43 
AnswerRe: mciSendString? Pin
Maxwell Chen30-Jul-03 17:14
Maxwell Chen30-Jul-03 17:14 
GeneralRe: mciSendString? Pin
DaveE9th31-Jul-03 7:52
DaveE9th31-Jul-03 7:52 
GeneralQuestion Pin
nonahelmi30-Jul-03 16:01
nonahelmi30-Jul-03 16:01 
GeneralRe: Question Pin
nonahelmi30-Jul-03 16:03
nonahelmi30-Jul-03 16:03 
GeneralRe: Question Pin
Michael Dunn30-Jul-03 16:07
sitebuilderMichael Dunn30-Jul-03 16:07 
GeneralRe: Question Pin
Toni7830-Jul-03 16:14
Toni7830-Jul-03 16:14 

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.