Click here to Skip to main content
14,979,294 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhy CArray::GetSize() returns INT_PTR Pin
Raj Prathap20-Sep-07 3:01
MemberRaj Prathap20-Sep-07 3:01 
AnswerRe: why CArray::GetSize() returns INT_PTR Pin
Nemanja Trifunovic20-Sep-07 3:54
MemberNemanja Trifunovic20-Sep-07 3:54 
AnswerRe: why CArray::GetSize() returns INT_PTR Pin
jhwurmbach20-Sep-07 3:56
Memberjhwurmbach20-Sep-07 3:56 
GeneralRe: why CArray::GetSize() returns INT_PTR Pin
James R. Twine20-Sep-07 6:52
MemberJames R. Twine20-Sep-07 6:52 
GeneralRe: why CArray::GetSize() returns INT_PTR Pin
jhwurmbach20-Sep-07 7:17
Memberjhwurmbach20-Sep-07 7:17 
GeneralRe: why CArray::GetSize() returns INT_PTR Pin
James R. Twine20-Sep-07 12:25
MemberJames R. Twine20-Sep-07 12:25 
GeneralRe: why CArray::GetSize() returns INT_PTR Pin
jhwurmbach20-Sep-07 21:29
Memberjhwurmbach20-Sep-07 21:29 
GeneralRe: why CArray::GetSize() returns INT_PTR Pin
James R. Twine20-Sep-07 23:29
MemberJames R. Twine20-Sep-07 23:29 
jhwurmbach wrote:
0. No elements would be retrievable.
Why sould the "GetSize"-function answer a question other than that "How many elements are in the collection?". There are no elements to be retrieved, so the answer is [zero].


   The number of elements that are in a collection is not the same as the number of elements that are retrievable/available.  GetSize() vs. GetAvailable().  The lot at the Aston Martin dealership contain 87 cars, but zero of them are available to me! Laugh | :laugh:

   This is becoming a pointless argument Smile | :) - you will recall in my OP that I mention the words "poor design".  And I have seen lots of poor designs and heard many ways of defending/rationalizing them.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

AnswerRe: why CArray::GetSize() returns INT_PTR Pin
toxcct20-Sep-07 6:44
Membertoxcct20-Sep-07 6:44 
Questionhow to read data from hard disk using int86() function? Pin
amit.code20-Sep-07 2:43
Memberamit.code20-Sep-07 2:43 
AnswerRe: how to read data from hard disk using int86() function? Pin
jhwurmbach20-Sep-07 4:07
Memberjhwurmbach20-Sep-07 4:07 
GeneralRe: how to read data from hard disk using int86() function? Pin
Mark Salsbery20-Sep-07 6:34
MemberMark Salsbery20-Sep-07 6:34 
GeneralRe: how to read data from hard disk using int86() function? Pin
jhwurmbach20-Sep-07 6:36
Memberjhwurmbach20-Sep-07 6:36 
QuestionRe: how to read data from hard disk using int86() function? Pin
David Crow20-Sep-07 17:40
MemberDavid Crow20-Sep-07 17:40 
Questioncan anybody help me in converting a 16 bit bmp to grayscale Pin
philiptabraham20-Sep-07 1:35
Memberphiliptabraham20-Sep-07 1:35 
AnswerRe: can anybody help me in converting a 16 bit bmp to grayscale Pin
nbugalia20-Sep-07 1:56
Membernbugalia20-Sep-07 1:56 
Questionconnection between two machines in network Pin
p_20-Sep-07 1:32
Memberp_20-Sep-07 1:32 
AnswerRe: connection between two machines in network Pin
nbugalia20-Sep-07 1:42
Membernbugalia20-Sep-07 1:42 
AnswerRe: connection between two machines in network Pin
GauranG Shah20-Sep-07 1:49
MemberGauranG Shah20-Sep-07 1:49 
AnswerRe: connection between two machines in network Pin
Hamid_RT20-Sep-07 4:19
MemberHamid_RT20-Sep-07 4:19 
Questiondirectx in mfc Pin
saisp20-Sep-07 1:31
Membersaisp20-Sep-07 1:31 
Questionwant to add any number of images of any type in a dialog box using mfc only Pin
Dhiraj kumar Saini20-Sep-07 1:14
MemberDhiraj kumar Saini20-Sep-07 1:14 
AnswerRe: want to add any number of images of any type in a dialog box using mfc only Pin
jhwurmbach20-Sep-07 2:43
Memberjhwurmbach20-Sep-07 2:43 
GeneralRe: want to add any number of images of any type in a dialog box using mfc only Pin
Dhiraj kumar Saini20-Sep-07 3:30
MemberDhiraj kumar Saini20-Sep-07 3:30 
GeneralRe: want to add any number of images of any type in a dialog box using mfc only Pin
jhwurmbach20-Sep-07 3:51
Memberjhwurmbach20-Sep-07 3:51 

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.