Click here to Skip to main content
11,641,087 members (66,871 online)

C / C++ / MFC

 
GeneralRe: Getting pasted test Pin
Hadi Dayvary10-Nov-12 20:29
memberHadi Dayvary10-Nov-12 20:29 
GeneralRe: Getting pasted test Pin
Richard MacCutchan10-Nov-12 21:27
mvpRichard MacCutchan10-Nov-12 21:27 
Questionhow can get a disk number of a logical drive? Pin
Le@rner9-Nov-12 19:42
memberLe@rner9-Nov-12 19:42 
AnswerRe: how can get a disk number of a logical drive? Pin
Richard MacCutchan9-Nov-12 23:28
mvpRichard MacCutchan9-Nov-12 23:28 
GeneralRe: how can get a disk number of a logical drive? Pin
Le@rner10-Nov-12 0:05
memberLe@rner10-Nov-12 0:05 
GeneralRe: how can get a disk number of a logical drive? Pin
Richard MacCutchan10-Nov-12 0:11
mvpRichard MacCutchan10-Nov-12 0:11 
AnswerRe: how can get a disk number of a logical drive? Pin
André Kraak10-Nov-12 0:18
memberAndré Kraak10-Nov-12 0:18 
QuestionInfix to Postfix Converter Pin
ShayanTanwir9-Nov-12 17:52
memberShayanTanwir9-Nov-12 17:52 
AnswerRe: Infix to Postfix Converter Pin
Richard MacCutchan9-Nov-12 23:27
mvpRichard MacCutchan9-Nov-12 23:27 
AnswerRe: Infix to Postfix Converter Pin
DavidCrow11-Nov-12 15:59
memberDavidCrow11-Nov-12 15:59 
QuestionHow to stop typing in CDateTimeCtrl in MFC Pin
rahul.kulshreshtha7-Nov-12 16:47
memberrahul.kulshreshtha7-Nov-12 16:47 
AnswerRe: How to stop typing in CDateTimeCtrl in MFC Pin
Jochen Arndt7-Nov-12 23:32
memberJochen Arndt7-Nov-12 23:32 
GeneralRe: How to stop typing in CDateTimeCtrl in MFC Pin
rahul.kulshreshtha8-Nov-12 5:52
memberrahul.kulshreshtha8-Nov-12 5:52 
GeneralRe: How to stop typing in CDateTimeCtrl in MFC Pin
Jochen Arndt8-Nov-12 6:32
memberJochen Arndt8-Nov-12 6:32 
You are using MFC, so you don't need to handle PreTranslateMessage(). Just use the wizard to derive a class, use the message properties to add the WM_CHAR handler, and comment the line calling CDateTimeCtrl::OnChar(). Done with a few mouse clicks. All you need to type in using the keyboard is the name of the drived class, the comment chars, and replacing the CDateTimeCtrl by your class name in your code.

The edit control of CDateTimeCtrl is not accessible. So it can't be done in the dialog. Even when it would be possible: It is always better to perform such things in the control rather than in the dialog. So it must be done only once and not within every dialog that uses such a control.
Question[MFC] How to save three ini files as zip file? Pin
yu-jian7-Nov-12 5:20
groupyu-jian7-Nov-12 5:20 
AnswerRe: [MFC] How to save three ini files as zip file? Pin
jeron17-Nov-12 6:17
memberjeron17-Nov-12 6:17 
AnswerRe: [MFC] How to save three ini files as zip file? Pin
ProgramFOX7-Nov-12 7:35
memberProgramFOX7-Nov-12 7:35 
QuestionWhy new Image failed? Pin
yu-jian7-Nov-12 4:06
groupyu-jian7-Nov-12 4:06 
AnswerRe: Why new Image failed? Pin
Andrew Cherednik7-Nov-12 12:12
memberAndrew Cherednik7-Nov-12 12:12 
AnswerRe: Why new Image failed? Pin
Santhosh G_7-Nov-12 12:59
memberSanthosh G_7-Nov-12 12:59 
GeneralRe: Why new Image failed? Pin
yu-jian15-Nov-12 16:41
groupyu-jian15-Nov-12 16:41 
QuestionDialogBox fail in XP Pin
William Engberts7-Nov-12 3:32
memberWilliam Engberts7-Nov-12 3:32 
QuestionRe: DialogBox fail in XP Pin
CPallini7-Nov-12 10:06
mvpCPallini7-Nov-12 10:06 
AnswerRe: DialogBox fail in XP Pin
Andrew Cherednik7-Nov-12 12:20
memberAndrew Cherednik7-Nov-12 12:20 
GeneralRe: DialogBox fail in XP Pin
William Engberts7-Nov-12 22:36
memberWilliam Engberts7-Nov-12 22:36 
SuggestionRe: DialogBox fail in XP Pin
Andrew Cherednik7-Nov-12 22:59
memberAndrew Cherednik7-Nov-12 22:59 
GeneralRe: DialogBox fail in XP Pin
William Engberts7-Nov-12 23:30
memberWilliam Engberts7-Nov-12 23:30 
QuestionRe: DialogBox fail in XP Pin
DavidCrow8-Nov-12 4:21
memberDavidCrow8-Nov-12 4:21 
AnswerRe: DialogBox fail in XP Pin
William Engberts8-Nov-12 5:00
memberWilliam Engberts8-Nov-12 5:00 
QuestionAdo problem Pin
luckyty6-Nov-12 22:27
memberluckyty6-Nov-12 22:27 
Questionhow I can allow user draw curve using mouse Pin
Member 94819416-Nov-12 7:06
memberMember 94819416-Nov-12 7:06 
AnswerRe: how I can allow user draw curve using mouse Pin
Stephen Dycus6-Nov-12 7:58
memberStephen Dycus6-Nov-12 7:58 
Questionhow to call a dll indipendent of path where it located in a system? Pin
litu kumar6-Nov-12 0:52
memberlitu kumar6-Nov-12 0:52 
AnswerRe: how to call a dll indipendent of path where it located in a system? Pin
jschell6-Nov-12 9:13
memberjschell6-Nov-12 9:13 
GeneralRe: how to call a dll indipendent of path where it located in a system? Pin
litu kumar6-Nov-12 18:02
memberlitu kumar6-Nov-12 18:02 
GeneralRe: how to call a dll indipendent of path where it located in a system? Pin
jschell7-Nov-12 7:51
memberjschell7-Nov-12 7:51 
QuestionVery happy with C++11 Pin
_Josh_5-Nov-12 16:33
member_Josh_5-Nov-12 16:33 
AnswerRe: Very happy with C++11 Pin
Sarath C5-Nov-12 19:01
memberSarath C5-Nov-12 19:01 
AnswerRe: Very happy with C++11 Pin
Richard MacCutchan5-Nov-12 22:25
mvpRichard MacCutchan5-Nov-12 22:25 
GeneralRe: Very happy with C++11 Pin
Joe Woodbury6-Nov-12 7:32
memberJoe Woodbury6-Nov-12 7:32 
GeneralRe: Very happy with C++11 Pin
_Josh_6-Nov-12 8:50
member_Josh_6-Nov-12 8:50 
GeneralRe: Very happy with C++11 Pin
Richard MacCutchan6-Nov-12 21:27
mvpRichard MacCutchan6-Nov-12 21:27 
GeneralRe: Very happy with C++11 Pin
_Josh_6-Nov-12 22:09
member_Josh_6-Nov-12 22:09 
AnswerRe: Very happy with C++11 Pin
Chris Losinger6-Nov-12 2:05
memberChris Losinger6-Nov-12 2:05 
GeneralRe: Very happy with C++11 Pin
_Josh_6-Nov-12 8:51
member_Josh_6-Nov-12 8:51 
QuestionRe: Very happy with C++11 Pin
DavidCrow6-Nov-12 3:00
memberDavidCrow6-Nov-12 3:00 
AnswerRe: Very happy with C++11 Pin
Maximilien6-Nov-12 3:24
memberMaximilien6-Nov-12 3:24 
AnswerRe: Very happy with C++11 Pin
Chris Losinger6-Nov-12 9:01
memberChris Losinger6-Nov-12 9:01 
QuestionPutting a COM dll inside a COM dll Pin
andrewdunbabin5-Nov-12 4:39
memberandrewdunbabin5-Nov-12 4:39 
AnswerRe: Putting a COM dll inside a COM dll Pin
Richard MacCutchan5-Nov-12 5:20
mvpRichard MacCutchan5-Nov-12 5:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150731.1 | Last Updated 1 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid