Click here to Skip to main content
15,904,153 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCan I create two Cbrush object at same time? [modified] Pin
Gofur Halmurat5-Nov-07 10:53
Gofur Halmurat5-Nov-07 10:53 
QuestionRe: Can I create two Cbrush object at same time? Pin
Mark Salsbery5-Nov-07 10:56
Mark Salsbery5-Nov-07 10:56 
AnswerRe: Can I create two Cbrush object at same time? Pin
Gofur Halmurat5-Nov-07 10:59
Gofur Halmurat5-Nov-07 10:59 
GeneralRe: Can I create two Cbrush object at same time? Pin
Mark Salsbery5-Nov-07 11:12
Mark Salsbery5-Nov-07 11:12 
GeneralRe: Can I create two Cbrush object at same time? Pin
Gofur Halmurat5-Nov-07 11:18
Gofur Halmurat5-Nov-07 11:18 
GeneralRe: Can I create two Cbrush object at same time? Pin
Mark Salsbery5-Nov-07 11:17
Mark Salsbery5-Nov-07 11:17 
GeneralRe: Can I create two Cbrush object at same time? Pin
Gofur Halmurat5-Nov-07 11:25
Gofur Halmurat5-Nov-07 11:25 
Questiongreat c++ website for learning Pin
nwahsbac5-Nov-07 10:28
nwahsbac5-Nov-07 10:28 
AnswerRe: great c++ website for learning Pin
Gofur Halmurat5-Nov-07 11:07
Gofur Halmurat5-Nov-07 11:07 
AnswerRe: great c++ website for learning Pin
Dustin Henry5-Nov-07 11:17
Dustin Henry5-Nov-07 11:17 
QuestionCreating Shortcuts on the run Pin
shpid3r5-Nov-07 9:36
shpid3r5-Nov-07 9:36 
AnswerRe: Creating Shortcuts on the run Pin
Mark Salsbery5-Nov-07 10:54
Mark Salsbery5-Nov-07 10:54 
AnswerRe: Creating Shortcuts on the run Pin
shpid3r6-Nov-07 5:43
shpid3r6-Nov-07 5:43 
QuestionMaking a DLL Pin
wajih.boukaram5-Nov-07 6:55
wajih.boukaram5-Nov-07 6:55 
AnswerRe: Making a DLL Pin
toxcct5-Nov-07 6:57
toxcct5-Nov-07 6:57 
GeneralRe: Making a DLL Pin
wajih.boukaram5-Nov-07 7:04
wajih.boukaram5-Nov-07 7:04 
AnswerRe: Making a DLL Pin
Mark Salsbery5-Nov-07 7:11
Mark Salsbery5-Nov-07 7:11 
GeneralRe: Making a DLL Pin
led mike5-Nov-07 7:18
led mike5-Nov-07 7:18 
GeneralRe: Making a DLL Pin
wajih.boukaram5-Nov-07 7:40
wajih.boukaram5-Nov-07 7:40 
QuestionDebugging Exception Pin
ScotDolan5-Nov-07 5:21
ScotDolan5-Nov-07 5:21 
AnswerRe: Debugging Exception Pin
led mike5-Nov-07 5:44
led mike5-Nov-07 5:44 
GeneralRe: Debugging Exception Pin
ScotDolan5-Nov-07 10:29
ScotDolan5-Nov-07 10:29 
GeneralRe: Debugging Exception Pin
Peter Weyzen5-Nov-07 16:56
Peter Weyzen5-Nov-07 16:56 
AnswerRe: Debugging Exception Pin
ThatsAlok5-Nov-07 21:51
ThatsAlok5-Nov-07 21:51 
QuestionProblem with DatePicker Pin
M_Menon5-Nov-07 5:13
M_Menon5-Nov-07 5:13 
Hi Friends
I am not able to get the Selected Date from the DatePicker. It is showing me the Current DateTime always.

I am new with VC++.
//Initializing
, m_Date( CTime::GetCurrentTime())

DDX_DateTimeCtrl(pDX, IDC_DATE, m_Date);

And then i am Changing the Date in DatePicker, and on Button Click Event,
i have the below instruction, where i need the Selected Date but instead it is showing me CurrentDateTime()

SELECT Polhsh_ID FROM Polhsh WHERE Installation_ID = %d AND Pelaths_ID = %d AND ActionType = '%s'AND Hmeromhnia= #%s# "), Installation_ID, m_Promhtheytes.GetItemData( m_Promhtheytes.GetCurSel()), ActionType, m_Date.Format( _T("%Y/%m/%d")) );

But i am always getting the Current DateTime.

I know it must be something simple, But i am completely new with VC++.

I hope if anybody gets time, give me some help.

Thanks



Cheers

Menon

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.