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

C / C++ / MFC

 
GeneralRe: Toolbar image list color depth Pin
Christopher Duncan19-Sep-06 11:24
Christopher Duncan19-Sep-06 11:24 
AnswerRe: Toolbar image list color depth Pin
KarstenK19-Sep-06 2:34
mveKarstenK19-Sep-06 2:34 
AnswerThanks, everyone! Pin
Christopher Duncan19-Sep-06 11:25
Christopher Duncan19-Sep-06 11:25 
QuestionHow to convert char* to char Pin
vc++_fragrance19-Sep-06 0:28
vc++_fragrance19-Sep-06 0:28 
AnswerRe: How to convert char* to char Pin
prasad_som19-Sep-06 0:37
prasad_som19-Sep-06 0:37 
GeneralRe: How to convert char* to char Pin
vc++_fragrance19-Sep-06 0:47
vc++_fragrance19-Sep-06 0:47 
QuestionRe: How to convert char* to char Pin
prasad_som19-Sep-06 1:05
prasad_som19-Sep-06 1:05 
AnswerRe: How to convert char* to char Pin
vc++_fragrance19-Sep-06 1:23
vc++_fragrance19-Sep-06 1:23 
BOOL CCampaignDataEntryDlg::OnInitDialog()
{
CPropertyPage::OnInitDialog();
setUpODBC();// establish database connection
long x=QuerySiblings(1,(long)&m_querySibling);

CString* pString=(CString*)x;
pStr=*pString;

AfxMessageBox(pStr); //display employee name say 'tejaswini'

SQLRETURN sr;
SQLHSTMT hstmt;

CString campid;
campid.Format("SELECT empName,empID FROM EMPLOYEEDETAILS WHERE EMPNAME= '%s'",pStr);
SQLCHAR* SQL = (SQLCHAR*)(LPCSTR)campid;
}

BOOL CCampaignDataEntryDlg::OnSetActive()
{
if(m_Status!="") //m_Status is to used to know whether the
//property page is activated or not
OnInitDialog();
return CPropertyPage::OnSetActive();
}
BOOL CCampaignDataEntryDlg::OnKillActive()
{
m_Status="abc";

return CPropertyPage::OnKillActive();
}
GeneralRe: How to convert char* to char Pin
prasad_som19-Sep-06 2:14
prasad_som19-Sep-06 2:14 
GeneralRe: How to convert char* to char Pin
vc++_fragrance19-Sep-06 3:10
vc++_fragrance19-Sep-06 3:10 
GeneralRe: How to convert char* to char Pin
David Crow19-Sep-06 3:13
David Crow19-Sep-06 3:13 
GeneralRe: How to convert char* to char Pin
KarstenK19-Sep-06 2:32
mveKarstenK19-Sep-06 2:32 
AnswerRe: How to convert char* to char Pin
_AnsHUMAN_ 19-Sep-06 0:48
_AnsHUMAN_ 19-Sep-06 0:48 
QuestionValidation in property pages Pin
Mohammad A Gdeisat18-Sep-06 23:23
Mohammad A Gdeisat18-Sep-06 23:23 
AnswerRe: Validation in property pages Pin
prasad_som18-Sep-06 23:28
prasad_som18-Sep-06 23:28 
QuestionMFC (database) please help ! [modified] Pin
Bravoone_200618-Sep-06 23:05
Bravoone_200618-Sep-06 23:05 
AnswerRe: MFC (database) please help ! Pin
Christian Graus19-Sep-06 1:19
protectorChristian Graus19-Sep-06 1:19 
QuestionRe: MFC (database) please help ! Pin
Bravoone_200619-Sep-06 2:29
Bravoone_200619-Sep-06 2:29 
AnswerRe: MFC (database) please help ! Pin
David Crow19-Sep-06 3:21
David Crow19-Sep-06 3:21 
AnswerRe: MFC (database) please help ! Pin
Christian Graus19-Sep-06 10:26
protectorChristian Graus19-Sep-06 10:26 
AnswerRe: MFC (database) please help ! Pin
Bravoone_200619-Sep-06 19:54
Bravoone_200619-Sep-06 19:54 
GeneralRe: MFC (database) please help ! Pin
Christian Graus19-Sep-06 20:05
protectorChristian Graus19-Sep-06 20:05 
QuestionHow to get the data from edit control Pin
vc++_fragrance18-Sep-06 22:53
vc++_fragrance18-Sep-06 22:53 
AnswerRe: How to get the data from edit control Pin
Bravoone_200618-Sep-06 23:09
Bravoone_200618-Sep-06 23:09 
GeneralRe: How to get the data from edit control Pin
_AnsHUMAN_ 18-Sep-06 23:10
_AnsHUMAN_ 18-Sep-06 23:10 

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.