Click here to Skip to main content
16,010,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalput static or picture on button control Pin
26-Jul-01 11:14
suss26-Jul-01 11:14 
GeneralRe: put static or picture on button control Pin
Christian Graus26-Jul-01 12:46
protectorChristian Graus26-Jul-01 12:46 
GeneralPlease Try help me !!! I have problem in my code in saving and reading from file . Pin
26-Jul-01 10:12
suss26-Jul-01 10:12 
GeneralPLEASE !!! HELP ME !!! IT IS VERY URGENT !!!!!!! Pin
26-Jul-01 18:39
suss26-Jul-01 18:39 
GeneralRe: PLEASE !!! HELP ME !!! IT IS VERY URGENT !!!!!!! Pin
Christian Graus26-Jul-01 19:21
protectorChristian Graus26-Jul-01 19:21 
GeneralDetails of the errors that I gets . Please, Please HELP !!!!!! Pin
26-Jul-01 21:07
suss26-Jul-01 21:07 
Generaldate picker problems Pin
26-Jul-01 9:01
suss26-Jul-01 9:01 
GeneralRe: date picker problems Pin
Derek Waters26-Jul-01 16:38
Derek Waters26-Jul-01 16:38 
You can use a COleDateTime (which is the MFC wrapper for the DATE type). You can set the date and time in the COleDateTime object using ParseDateTime(). ParseDateTime will take in strings in any of the standard Windows Date Time formats. Then you can just pass your object into the SetMaxDate function, which will cast the object to a DATE. For example:



COleDateTime vtMaxDate;
CString vcstrMaxDate = _T("01-01-2001");

vtMaxDate.ParseDateTime(vcstrMaxDate);

SetMaxDate(vtMaxDate);



Hope this helps.

------------------------
Derek Waters
derek@lj-oz.com
GeneralRe: date picker problems Pin
27-Jul-01 2:37
suss27-Jul-01 2:37 
GeneralOLE DB and IRowsetChange::SetData Pin
Bret Faller26-Jul-01 8:16
Bret Faller26-Jul-01 8:16 
GeneralRe: OLE DB and IRowsetChange::SetData Pin
Tomasz Sowinski26-Jul-01 8:41
Tomasz Sowinski26-Jul-01 8:41 
GeneralRe: OLE DB and IRowsetChange::SetData Pin
Bret Faller26-Jul-01 11:44
Bret Faller26-Jul-01 11:44 
QuestionAt run time, how do I draw a box around few edit controls? Pin
tm26-Jul-01 6:58
tm26-Jul-01 6:58 
AnswerRe: At run time, how do I draw a box around few edit controls? Pin
Tomasz Sowinski26-Jul-01 7:15
Tomasz Sowinski26-Jul-01 7:15 
GeneralResizing of a dialog box Pin
26-Jul-01 6:27
suss26-Jul-01 6:27 
GeneralRe: Resizing of a dialog box Pin
Carlos Antollini26-Jul-01 6:36
Carlos Antollini26-Jul-01 6:36 
GeneralRe: Resizing of a dialog box Pin
27-Jul-01 1:39
suss27-Jul-01 1:39 
GeneralRe: Resizing of a dialog box Pin
Christian Graus27-Jul-01 2:18
protectorChristian Graus27-Jul-01 2:18 
GeneralRe: Resizing of a dialog box Pin
26-Jul-01 7:17
suss26-Jul-01 7:17 
GeneralRe: Resizing of a dialog box Pin
Ernest Laurentin27-Jul-01 9:43
Ernest Laurentin27-Jul-01 9:43 
GeneralRe: Resizing of a dialog box Pin
31-Jul-01 1:18
suss31-Jul-01 1:18 
GeneralPersisting Bitmaps Pin
Ganesh Ramaswamy26-Jul-01 6:18
Ganesh Ramaswamy26-Jul-01 6:18 
GeneralRe: Persisting Bitmaps - forget it Pin
Ganesh Ramaswamy26-Jul-01 10:20
Ganesh Ramaswamy26-Jul-01 10:20 
QuestionCListCtrl missing GetSelItems(). Any Reason?? Pin
Chris Meech26-Jul-01 6:17
Chris Meech26-Jul-01 6:17 
AnswerRe: CListCtrl missing GetSelItems(). Any Reason?? Pin
Tomasz Sowinski26-Jul-01 6:51
Tomasz Sowinski26-Jul-01 6:51 

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.