Click here to Skip to main content
11,705,208 members (42,961 online)

C / C++ / MFC

 
GeneralRe: bytes to mb conversion upto two decimal places. Pin
CPallini17-Sep-13 23:32
mvpCPallini17-Sep-13 23:32 
AnswerRe: bytes to mb conversion upto two decimal places. Pin
Flaviu217-Sep-13 22:19
memberFlaviu217-Sep-13 22:19 
AnswerRe: bytes to mb conversion upto two decimal places. Pin
pasztorpisti17-Sep-13 23:19
memberpasztorpisti17-Sep-13 23:19 
QuestionCreating a DLL with Web Browser Embedded Pin
Don Guy17-Sep-13 9:48
memberDon Guy17-Sep-13 9:48 
AnswerRe: Creating a DLL with Web Browser Embedded Pin
Richard Andrew x6417-Sep-13 15:34
professionalRichard Andrew x6417-Sep-13 15:34 
AnswerRe: Creating a DLL with Web Browser Embedded Pin
Richard MacCutchan17-Sep-13 21:04
mvpRichard MacCutchan17-Sep-13 21:04 
GeneralRe: Creating a DLL with Web Browser Embedded Pin
Don Guy18-Sep-13 4:15
memberDon Guy18-Sep-13 4:15 
GeneralRe: Creating a DLL with Web Browser Embedded Pin
Richard MacCutchan18-Sep-13 4:33
mvpRichard MacCutchan18-Sep-13 4:33 
GeneralRe: Creating a DLL with Web Browser Embedded Pin
Don Guy18-Sep-13 6:04
memberDon Guy18-Sep-13 6:04 
GeneralRe: Creating a DLL with Web Browser Embedded Pin
Richard MacCutchan18-Sep-13 6:31
mvpRichard MacCutchan18-Sep-13 6:31 
GeneralRe: Creating a DLL with Web Browser Embedded Pin
Don Guy18-Sep-13 6:52
memberDon Guy18-Sep-13 6:52 
GeneralRe: Creating a DLL with Web Browser Embedded Pin
Richard MacCutchan18-Sep-13 6:57
mvpRichard MacCutchan18-Sep-13 6:57 
AnswerRe: Creating a DLL with Web Browser Embedded Pin
jschell19-Sep-13 11:19
memberjschell19-Sep-13 11:19 
QuestionUnable to set focus in CPropertyPage in MFC. update solved?? Pin
Vaclav_Sal17-Sep-13 5:05
memberVaclav_Sal17-Sep-13 5:05 
I am unable to set focus to CProperyPage   CEdit   control using OnSetActive:  


BOOL C_CommPropertyPage2::OnSetActive()
{
     CEdit* pBoxOne;
     pBoxOne = (CEdit*) GetDlgItem(IDC_EDIT1);
     pBoxOne->SetFocus();

     return CPropertyPage::OnSetActive(); // added
}


I am able to TAB to the controls and I have tried both value and control without success.

Any help would be appreciated.
Cheers Vaclav

Here is a workaround.
I initially fill the edit boxes with default values. When I reset them, in my case to empty text, I can set focus using the above code. I can live with that.

-- modified 17-Sep-13 13:34pm.
QuestionRe: Unable to set focus in CPropertyPage in MFC. Pin
jeron117-Sep-13 6:27
memberjeron117-Sep-13 6:27 
AnswerRe: Unable to set focus in CPropertyPage in MFC. Pin
Vaclav_Sal17-Sep-13 7:08
memberVaclav_Sal17-Sep-13 7:08 
QuestionRe: Unable to set focus in CPropertyPage in MFC. update solved?? Pin
DavidCrow17-Sep-13 7:51
memberDavidCrow17-Sep-13 7:51 
AnswerRe: Unable to set focus in CPropertyPage in MFC. update solved?? Pin
Vaclav_Sal17-Sep-13 9:54
memberVaclav_Sal17-Sep-13 9:54 
QuestionRe: Unable to set focus in CPropertyPage in MFC. update solved?? Pin
DavidCrow18-Sep-13 2:50
memberDavidCrow18-Sep-13 2:50 
AnswerRe: Unable to set focus in CPropertyPage in MFC. update solved?? Pin
Vaclav_Sal18-Sep-13 7:50
memberVaclav_Sal18-Sep-13 7:50 
QuestionOutlook Addins Pin
john563216-Sep-13 22:55
memberjohn563216-Sep-13 22:55 
AnswerRe: Outlook Addins Pin
Richard MacCutchan17-Sep-13 0:31
mvpRichard MacCutchan17-Sep-13 0:31 
Questionhow to lock function? Pin
JoneLe8616-Sep-13 18:09
memberJoneLe8616-Sep-13 18:09 
AnswerRe: how to lock function? Pin
Richard MacCutchan16-Sep-13 20:41
mvpRichard MacCutchan16-Sep-13 20:41 
AnswerRe: how to lock function? Pin
CPallini16-Sep-13 21:18
mvpCPallini16-Sep-13 21:18 
AnswerRe: how to lock function? Pin
Freak3016-Sep-13 22:06
memberFreak3016-Sep-13 22:06 
GeneralRe: how to lock function? Pin
pasztorpisti17-Sep-13 0:27
memberpasztorpisti17-Sep-13 0:27 
QuestionWhat does it mean when...... Pin
Richard Andrew x6416-Sep-13 10:42
professionalRichard Andrew x6416-Sep-13 10:42 
AnswerRe: What does it mean when...... Pin
Graham Breach16-Sep-13 11:26
memberGraham Breach16-Sep-13 11:26 
GeneralRe: What does it mean when...... Pin
Richard Andrew x6416-Sep-13 11:51
professionalRichard Andrew x6416-Sep-13 11:51 
QuestionFeedback appreciated Pin
_Psychopomp_16-Sep-13 0:15
professional_Psychopomp_16-Sep-13 0:15 
AnswerRe: Feedback appreciated Pin
pasztorpisti16-Sep-13 0:54
memberpasztorpisti16-Sep-13 0:54 
AnswerRe: Feedback appreciated Pin
Richard MacCutchan16-Sep-13 0:54
mvpRichard MacCutchan16-Sep-13 0:54 
AnswerRe: Feedback appreciated - OT Pin
Richard MacCutchan16-Sep-13 20:39
mvpRichard MacCutchan16-Sep-13 20:39 
GeneralRe: Feedback appreciated - OT Pin
SoMad16-Sep-13 21:23
professionalSoMad16-Sep-13 21:23 
GeneralRe: Feedback appreciated - OT Pin
_Psychopomp_16-Sep-13 21:59
professional_Psychopomp_16-Sep-13 21:59 
AnswerRe: Feedback appreciated Pin
Stefan_Lang17-Sep-13 1:42
memberStefan_Lang17-Sep-13 1:42 
AnswerRe: Feedback appreciated Pin
Vaclav_Sal17-Sep-13 10:21
memberVaclav_Sal17-Sep-13 10:21 
Questiondebug begining: Unhandled exception at 0x77cf15de in blast_vib_proc.exe: 0xC00000FD: Stack overflow. Pin
mrby12314-Sep-13 16:18
membermrby12314-Sep-13 16:18 
SuggestionRe: debug begining: Unhandled exception at 0x77cf15de in blast_vib_proc.exe: 0xC00000FD: Stack overflow. Pin
Richard MacCutchan14-Sep-13 21:42
mvpRichard MacCutchan14-Sep-13 21:42 
AnswerRe: debug begining: Unhandled exception at 0x77cf15de in blast_vib_proc.exe: 0xC00000FD: Stack overflow. Pin
_Psychopomp_15-Sep-13 10:39
professional_Psychopomp_15-Sep-13 10:39 
Questionas soon as start program got error message - stack overflow Pin
mrby12313-Sep-13 19:35
membermrby12313-Sep-13 19:35 
AnswerRe: as soon as start program got error message - stack overflow Pin
Richard MacCutchan13-Sep-13 22:26
mvpRichard MacCutchan13-Sep-13 22:26 
GeneralRe: as soon as start program got error message - stack overflow Pin
CPallini14-Sep-13 6:45
mvpCPallini14-Sep-13 6:45 
AnswerRe: as soon as start program got error message - stack overflow Pin
Jochen Arndt13-Sep-13 22:32
professionalJochen Arndt13-Sep-13 22:32 
AnswerRe: as soon as start program got error message - stack overflow Pin
Erudite_Eric14-Sep-13 21:39
memberErudite_Eric14-Sep-13 21:39 
SuggestionGetting forward from console applications to gui Pin
Farhan_Karim13-Sep-13 3:10
memberFarhan_Karim13-Sep-13 3:10 
GeneralRe: Getting forward from console applications to gui Pin
Richard MacCutchan13-Sep-13 3:44
mvpRichard MacCutchan13-Sep-13 3:44 
GeneralRe: Getting forward from console applications to gui Pin
Farhan_Karim13-Sep-13 8:09
memberFarhan_Karim13-Sep-13 8:09 
GeneralRe: Getting forward from console applications to gui Pin
jschell13-Sep-13 11:36
memberjschell13-Sep-13 11:36 

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
Web01 | 2.8.150819.1 | Last Updated 28 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid