Click here to Skip to main content
15,900,973 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to Terminate a CWinThread Pin
ThatsAlok20-Jun-05 21:43
ThatsAlok20-Jun-05 21:43 
GeneralRe: How to Terminate a CWinThread Pin
a_du20-Jun-05 22:05
a_du20-Jun-05 22:05 
GeneralRe: How to Terminate a CWinThread Pin
ThatsAlok20-Jun-05 22:48
ThatsAlok20-Jun-05 22:48 
GeneralRe: How to Terminate a CWinThread Pin
pierrekande20-Jun-05 23:29
pierrekande20-Jun-05 23:29 
GeneralRe: How to Terminate a CWinThread Pin
David Crow21-Jun-05 4:47
David Crow21-Jun-05 4:47 
AnswerRe: How to Terminate a CWinThread Pin
Bob Stanneveld20-Jun-05 22:22
Bob Stanneveld20-Jun-05 22:22 
AnswerRe: How to Terminate a CWinThread Pin
David Crow21-Jun-05 4:43
David Crow21-Jun-05 4:43 
GeneralMFC CEdit::SetSel() Pin
toxcct20-Jun-05 20:51
toxcct20-Jun-05 20:51 
is it normal that CEdit::SetSel(-1, -1); donnot erase my EditBox ?

from the MSDN, i read this :

void SetSel(
   int nStartChar,
   int nEndChar,
   BOOL bNoScroll = FALSE 
);
 
nStartChar 
    Specifies the starting position. If nStartChar is 0 and nEndChar is –1, all the
text in the edit control is selected. If nStartChar is –1, any current selection is removed. 


i so thought that calling say m_peMyEdit->SetSel(-1, -1); (where m_peMyEdit is declaredas as a CEdit* and well initialized also) would clear the content of my Control.

should i feedback this to Microsoft ?



TOXCCT >>> GEII power
[toxcct][VisualCalc]
GeneralRe: MFC CEdit::SetSel() Pin
GDavy20-Jun-05 21:13
GDavy20-Jun-05 21:13 
GeneralRe: MFC CEdit::SetSel() Pin
toxcct21-Jun-05 0:26
toxcct21-Jun-05 0:26 
GeneralRe: MFC CEdit::SetSel() Pin
ThatsAlok20-Jun-05 21:30
ThatsAlok20-Jun-05 21:30 
GeneralRe: MFC CEdit::SetSel() Pin
toxcct21-Jun-05 0:29
toxcct21-Jun-05 0:29 
GeneralRe: MFC CEdit::SetSel() Pin
ThatsAlok21-Jun-05 0:36
ThatsAlok21-Jun-05 0:36 
GeneralRe: MFC CEdit::SetSel() Pin
toxcct21-Jun-05 1:14
toxcct21-Jun-05 1:14 
GeneralWindows Service and wizard Pin
20-Jun-05 20:40
suss20-Jun-05 20:40 
GeneralRe: Windows Service and wizard Pin
Tom Archer20-Jun-05 21:30
Tom Archer20-Jun-05 21:30 
GeneralRe: Windows Service and wizard Pin
Nilesh K.20-Jun-05 21:41
Nilesh K.20-Jun-05 21:41 
GeneralRe: Windows Service and wizard Pin
Laji5920-Jun-05 23:14
Laji5920-Jun-05 23:14 
GeneralRe: Windows Service and wizard Pin
ThatsAlok20-Jun-05 21:44
ThatsAlok20-Jun-05 21:44 
GeneralRe: Windows Service and wizard Pin
Jack Puppy21-Jun-05 1:05
Jack Puppy21-Jun-05 1:05 
GeneralRe: Windows Service and wizard Pin
Laji5921-Jun-05 17:44
Laji5921-Jun-05 17:44 
QuestionHow to get the sectors/clusters of a particular file? Pin
jahfer20-Jun-05 20:36
jahfer20-Jun-05 20:36 
AnswerRe: How to get the sectors/clusters of a particular file? Pin
Sumit Kapoor21-Jun-05 0:13
Sumit Kapoor21-Jun-05 0:13 
GeneralRe: How to get the sectors/clusters of a particular file? Pin
jahfer21-Jun-05 0:21
jahfer21-Jun-05 0:21 
GeneralRe: How to get the sectors/clusters of a particular file? Pin
Sumit Kapoor21-Jun-05 2:14
Sumit Kapoor21-Jun-05 2:14 

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.