Click here to Skip to main content
16,005,037 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
Gajendra Sharma19-Mar-09 1:40
Gajendra Sharma19-Mar-09 1:40 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
«_Superman_»19-Mar-09 1:48
professional«_Superman_»19-Mar-09 1:48 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
Gajendra Sharma19-Mar-09 2:02
Gajendra Sharma19-Mar-09 2:02 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
«_Superman_»19-Mar-09 2:02
professional«_Superman_»19-Mar-09 2:02 
AnswerRe: How to get a port number bound to a given socket using function other than getsockname() Pin
Gajendra Sharma25-Mar-09 21:20
Gajendra Sharma25-Mar-09 21:20 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
CPallini19-Mar-09 7:15
mveCPallini19-Mar-09 7:15 
QuestionDelete all items of a CListBox Pin
llp00na18-Mar-09 22:32
llp00na18-Mar-09 22:32 
AnswerRe: Delete all items of a CListBox Pin
Code-o-mat18-Mar-09 22:45
Code-o-mat18-Mar-09 22:45 
CListBox::ResetContent[^].
Btw there's also a fundamantal flaw in your method. Consider what your loop does:
1. i becomes 0, the very first ("zeroth") item is deleted from your list, this will raise all other items 1 place, so 0 goes away, 1st becomes the 0th, 2nd becomes 1st, 3rd becomes 2nd and so on...
2. i now becomes 1, the 1st item in your list is deleted, and the ones under it jump up one place, so the 0th item is untouched, the 1st is deleted, 2nd becomes 1st, 3->2, 4->3 ...
3. i now becomes 2, 2nd item is deleted, so 0th is untouched, 1st is untouched, 2nd is deleted, 3rd becomes 2bd, 4->3 and so on...


Get the problem?

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

GeneralRe: Delete all items of a CListBox Pin
llp00na18-Mar-09 22:52
llp00na18-Mar-09 22:52 
GeneralRe: Delete all items of a CListBox Pin
Code-o-mat18-Mar-09 23:06
Code-o-mat18-Mar-09 23:06 
GeneralRe: Delete all items of a CListBox Pin
llp00na18-Mar-09 23:18
llp00na18-Mar-09 23:18 
AnswerRe: Delete all items of a CListBox Pin
surya981216-Jul-11 3:39
surya981216-Jul-11 3:39 
Questionsame project giving different results when compiled on different machine Pin
VCProgrammer18-Mar-09 21:38
VCProgrammer18-Mar-09 21:38 
AnswerRe: same project giving different results when compiled on different machine Pin
Cedric Moonen18-Mar-09 21:44
Cedric Moonen18-Mar-09 21:44 
GeneralRe: same project giving different results when compiled on different machine Pin
VCProgrammer18-Mar-09 21:47
VCProgrammer18-Mar-09 21:47 
GeneralRe: same project giving different results when compiled on different machine Pin
Stuart Dootson18-Mar-09 22:21
professionalStuart Dootson18-Mar-09 22:21 
GeneralRe: same project giving different results when compiled on different machine Pin
VCProgrammer18-Mar-09 23:07
VCProgrammer18-Mar-09 23:07 
GeneralRe: same project giving different results when compiled on different machine Pin
Stuart Dootson19-Mar-09 1:41
professionalStuart Dootson19-Mar-09 1:41 
AnswerRe: same project giving different results when compiled on different machine Pin
#realJSOP19-Mar-09 5:40
professional#realJSOP19-Mar-09 5:40 
QuestionGetting child windows handle Pin
PankajB18-Mar-09 21:26
PankajB18-Mar-09 21:26 
AnswerRe: Getting child windows handle Pin
Sophiya Chen18-Mar-09 22:22
Sophiya Chen18-Mar-09 22:22 
AnswerRe: Getting child windows handle Pin
Sarath C18-Mar-09 22:27
Sarath C18-Mar-09 22:27 
AnswerRe: Getting child windows handle Pin
sonu.saini.76@gmail.com19-Mar-09 0:18
sonu.saini.76@gmail.com19-Mar-09 0:18 
AnswerRe: Getting child windows handle Pin
sonu.saini.76@gmail.com19-Mar-09 4:59
sonu.saini.76@gmail.com19-Mar-09 4:59 
QuestionHow to convert RTF to plain text ? Pin
csc18-Mar-09 20:25
csc18-Mar-09 20:25 

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.