Click here to Skip to main content
15,867,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Accessing file from a remote location Pin
Rajesh R Subramanian6-Dec-11 20:03
professionalRajesh R Subramanian6-Dec-11 20:03 
GeneralRe: Accessing file from a remote location Pin
KjellKod.cc6-Dec-11 20:16
KjellKod.cc6-Dec-11 20:16 
SuggestionRe: Accessing file from a remote location Pin
David Crow7-Dec-11 6:24
David Crow7-Dec-11 6:24 
Questionconvert from 'LPCTSTR' to 'const char *' Pin
Le@rner6-Dec-11 0:31
Le@rner6-Dec-11 0:31 
AnswerRe: convert from 'LPCTSTR' to 'const char *' Pin
Code-o-mat6-Dec-11 1:31
Code-o-mat6-Dec-11 1:31 
AnswerRe: convert from 'LPCTSTR' to 'const char *' Pin
Richard MacCutchan6-Dec-11 1:48
mveRichard MacCutchan6-Dec-11 1:48 
AnswerRe: convert from 'LPCTSTR' to 'const char *' Pin
Rajesh R Subramanian6-Dec-11 2:00
professionalRajesh R Subramanian6-Dec-11 2:00 
QuestionSendMessage with WM_SETFOCUS and SetFocus() function Pin
msr_codeproject5-Dec-11 23:45
msr_codeproject5-Dec-11 23:45 
Hello,

Case-1
SendMessage((*m_pIPedt).GetHWnd(), WM_SETFOCUS, NULL, NULL);


Result-1

Edit control is getting focus. But it is not accepting any text. Hanging sometimes.

Case-2
SetFocus((*m_pIPedt).GetHWnd());


Result-2

Edit box is getting focus and I am able to type text in edit control


I want to know difference between these 2 cases.
Please help me.


Regards
msr
AnswerRe: SendMessage with WM_SETFOCUS and SetFocus() function Pin
Richard MacCutchan5-Dec-11 23:50
mveRichard MacCutchan5-Dec-11 23:50 
AnswerRe: SendMessage with WM_SETFOCUS and SetFocus() function Pin
Albert Holguin6-Dec-11 3:34
professionalAlbert Holguin6-Dec-11 3:34 
Questionwhy pApplication.CreateInstance( _T("Excel.Application") ) FAILED? Pin
Le@rner5-Dec-11 19:45
Le@rner5-Dec-11 19:45 
AnswerRe: why pApplication.CreateInstance( _T("Excel.Application") ) FAILED? Pin
CPallini5-Dec-11 21:47
mveCPallini5-Dec-11 21:47 
GeneralRe: why pApplication.CreateInstance( _T("Excel.Application") ) FAILED? Pin
Le@rner5-Dec-11 22:17
Le@rner5-Dec-11 22:17 
GeneralRe: why pApplication.CreateInstance( _T("Excel.Application") ) FAILED? Pin
Richard MacCutchan5-Dec-11 22:35
mveRichard MacCutchan5-Dec-11 22:35 
GeneralRe: why pApplication.CreateInstance( _T("Excel.Application") ) FAILED? Pin
CPallini5-Dec-11 22:38
mveCPallini5-Dec-11 22:38 
GeneralRe: why pApplication.CreateInstance( _T("Excel.Application") ) FAILED? Pin
Richard MacCutchan5-Dec-11 23:47
mveRichard MacCutchan5-Dec-11 23:47 
GeneralRe: why pApplication.CreateInstance( _T("Excel.Application") ) FAILED? Pin
CPallini5-Dec-11 22:36
mveCPallini5-Dec-11 22:36 
GeneralRe: why pApplication.CreateInstance( _T("Excel.Application") ) FAILED? Pin
Le@rner17-Jan-12 1:17
Le@rner17-Jan-12 1:17 
GeneralRe: why pApplication.CreateInstance( _T("Excel.Application") ) FAILED? Pin
CPallini17-Jan-12 1:36
mveCPallini17-Jan-12 1:36 
GeneralRe: why pApplication.CreateInstance( _T("Excel.Application") ) FAILED? Pin
Sampath57927-Aug-19 1:15
Sampath57927-Aug-19 1:15 
Questionwin32 edit box, validating text Pin
jkirkerx5-Dec-11 9:20
professionaljkirkerx5-Dec-11 9:20 
AnswerRe: win32 edit box, validating text Pin
David Crow5-Dec-11 10:52
David Crow5-Dec-11 10:52 
GeneralRe: win32 edit box, validating text Pin
jkirkerx6-Dec-11 6:46
professionaljkirkerx6-Dec-11 6:46 
AnswerRe: win32 edit box, validating text Pin
enhzflep5-Dec-11 17:21
enhzflep5-Dec-11 17:21 
GeneralRe: win32 edit box, validating text Pin
Randor 5-Dec-11 17:37
professional Randor 5-Dec-11 17:37 

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.