Click here to Skip to main content
15,908,274 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CListCtrl Pin
Don Box27-Jul-07 23:31
Don Box27-Jul-07 23:31 
AnswerRe: CListCtrl Pin
Michael Dunn28-Jul-07 9:32
sitebuilderMichael Dunn28-Jul-07 9:32 
AnswerRe: CListCtrl Pin
Nelek29-Jul-07 22:04
protectorNelek29-Jul-07 22:04 
AnswerRe: CListCtrl Pin
Hamid_RT31-Jul-07 21:07
Hamid_RT31-Jul-07 21:07 
Questionconvert from size_t to unsigned int Pin
George_George27-Jul-07 20:32
George_George27-Jul-07 20:32 
AnswerRe: convert from size_t to unsigned int Pin
Don Box27-Jul-07 20:44
Don Box27-Jul-07 20:44 
GeneralRe: convert from size_t to unsigned int Pin
George_George27-Jul-07 21:28
George_George27-Jul-07 21:28 
GeneralRe: convert from size_t to unsigned int Pin
Eytukan27-Jul-07 22:53
Eytukan27-Jul-07 22:53 
Pragma warning disable! It doesn't hurt when you send a size_t to an int param. You could do like (int)size_tVariableHere, when you pass size_t as an int argument. The "possible loss of data" could be about the sign information. size_t is unsigned, We can be sure size can't be in negative, so you can very well use it. It's not a problem at all.

btw : add this in your header:
pragma warning( disable : C4267 )










He's become a household word in the Lounge. A whole new phraseology has evolved. Post a link or reply with a smiley and rose, and you've made a "Satipsism". So what? It's an interesting thing about the Internet, the evolution (as in change, not progress) of tone, quality, terminology, etc.

-Marc Clifton.

Best wishes to Rexx[^

GeneralRe: convert from size_t to unsigned int Pin
George_George27-Jul-07 23:19
George_George27-Jul-07 23:19 
GeneralRe: convert from size_t to unsigned int Pin
Don Box27-Jul-07 23:29
Don Box27-Jul-07 23:29 
GeneralRe: convert from size_t to unsigned int Pin
George_George27-Jul-07 23:54
George_George27-Jul-07 23:54 
AnswerRe: convert from size_t to unsigned int Pin
John R. Shaw28-Jul-07 0:05
John R. Shaw28-Jul-07 0:05 
GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 0:12
George_George28-Jul-07 0:12 
GeneralRe: convert from size_t to unsigned int Pin
John R. Shaw28-Jul-07 0:37
John R. Shaw28-Jul-07 0:37 
GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 1:25
George_George28-Jul-07 1:25 
GeneralRe: convert from size_t to unsigned int Pin
Eytukan28-Jul-07 3:27
Eytukan28-Jul-07 3:27 
GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 3:36
George_George28-Jul-07 3:36 
GeneralRe: convert from size_t to unsigned int Pin
Eytukan28-Jul-07 4:05
Eytukan28-Jul-07 4:05 
GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 19:28
George_George28-Jul-07 19:28 
AnswerRe: convert from size_t to unsigned int Pin
Roger Broomfield28-Jul-07 3:03
Roger Broomfield28-Jul-07 3:03 
GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 3:27
George_George28-Jul-07 3:27 
GeneralRe: convert from size_t to unsigned int Pin
Eytukan28-Jul-07 3:33
Eytukan28-Jul-07 3:33 
GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 3:38
George_George28-Jul-07 3:38 
GeneralRe: convert from size_t to unsigned int Pin
Eytukan28-Jul-07 4:14
Eytukan28-Jul-07 4:14 
GeneralRe: convert from size_t to unsigned int Pin
George_George28-Jul-07 19:30
George_George28-Jul-07 19:30 

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.