Click here to Skip to main content
15,910,277 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Round() function Pin
Christian Graus24-Jun-01 23:44
protectorChristian Graus24-Jun-01 23:44 
GeneralTry these... Pin
Anna-Jayne Metcalfe25-Jun-01 0:34
Anna-Jayne Metcalfe25-Jun-01 0:34 
GeneralRe: Round() function Pin
#realJSOP25-Jun-01 3:35
professional#realJSOP25-Jun-01 3:35 
GeneralRe: Round() function Pin
25-Jun-01 5:34
suss25-Jun-01 5:34 
GeneralRound() function Pin
24-Jun-01 23:29
suss24-Jun-01 23:29 
GeneralWhere is the real error about CArray::GetAt(int n) function Pin
24-Jun-01 21:30
suss24-Jun-01 21:30 
GeneralRe: Where is the real error about CArray::GetAt(int n) function Pin
markkuk24-Jun-01 21:43
markkuk24-Jun-01 21:43 
GeneralRe: Where is the real error about CArray::GetAt(int n) function Pin
Tomasz Sowinski25-Jun-01 1:43
Tomasz Sowinski25-Jun-01 1:43 
Instead of

CArray < CBitmapBox, CBitmapBox >

declare your array as

CArray < CBitmapBox, CBitmapBox & >

The second template parameter is important here. GetAt will return a reference to the array element. Your current GetAt returns by value, which is less efficient and requires copy constructor.

Tomasz Sowinski -- http://www.shooltz.com.pl
Generalusing two table in 1 software Pin
24-Jun-01 21:12
suss24-Jun-01 21:12 
GeneralRe: using two table in 1 software Pin
Tim Deveaux25-Jun-01 4:51
Tim Deveaux25-Jun-01 4:51 
GeneralSuperb Pin
25-Jun-01 14:51
suss25-Jun-01 14:51 
GeneralRe: Superb Pin
25-Jun-01 20:28
suss25-Jun-01 20:28 
GeneralRe: Superb Pin
Tim Deveaux26-Jun-01 13:25
Tim Deveaux26-Jun-01 13:25 
GeneralPrint preview Pin
24-Jun-01 21:00
suss24-Jun-01 21:00 
GeneralRe: Print preview Pin
Christian Graus24-Jun-01 23:30
protectorChristian Graus24-Jun-01 23:30 
GeneralRe: Print preview Pin
25-Jun-01 20:24
suss25-Jun-01 20:24 
GeneralRe: Print preview Pin
Christian Graus25-Jun-01 23:13
protectorChristian Graus25-Jun-01 23:13 
GeneralQuestion about the file of VC Project Pin
24-Jun-01 20:26
suss24-Jun-01 20:26 
GeneralRe: Question about the file of VC Project Pin
Michael Dunn24-Jun-01 21:28
sitebuilderMichael Dunn24-Jun-01 21:28 
GeneralProblem of Print Mechanism! Pin
24-Jun-01 19:54
suss24-Jun-01 19:54 
GeneralSimple program Pin
Thiago Jackiw24-Jun-01 19:33
Thiago Jackiw24-Jun-01 19:33 
GeneralRe: Simple program Pin
Christian Graus24-Jun-01 19:37
protectorChristian Graus24-Jun-01 19:37 
GeneralBeginner's Question II Pin
Jason K. Dove24-Jun-01 18:57
Jason K. Dove24-Jun-01 18:57 
GeneralRe: Beginner's Question II Pin
Christian Graus24-Jun-01 19:03
protectorChristian Graus24-Jun-01 19:03 
GeneralRe: Beginner's Question II Pin
markkuk24-Jun-01 20:40
markkuk24-Jun-01 20:40 

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.