Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDo disabled buttons buffer the no of clicks -?? Pin
Ind29-Jan-03 2:04
Ind29-Jan-03 2:04 
AnswerRe: Do disabled buttons buffer the no of clicks -?? Pin
Roger Allen29-Jan-03 3:10
Roger Allen29-Jan-03 3:10 
GeneralRe: Do disabled buttons buffer the no of clicks -?? Pin
Ind31-Jan-03 3:27
Ind31-Jan-03 3:27 
General[WinInet] Retrieving error info from FTP Pin
Marcelo N. Magri29-Jan-03 1:07
Marcelo N. Magri29-Jan-03 1:07 
GeneralRe: [WinInet] Retrieving error info from FTP Pin
Ben Burnett29-Jan-03 10:46
Ben Burnett29-Jan-03 10:46 
Generalpassing CArray in functions Pin
r i s h a b h s29-Jan-03 0:02
r i s h a b h s29-Jan-03 0:02 
GeneralRe: passing CArray in functions Pin
jhwurmbach29-Jan-03 1:33
jhwurmbach29-Jan-03 1:33 
GeneralRe: passing CArray in functions Pin
HENDRIK R29-Jan-03 2:38
HENDRIK R29-Jan-03 2:38 
[edit] first I'd bartered the function declarations .. but now it's ok Smile | :)

rishabhs wrote:
CArray object (newTask) as parameter.

I think passing as an object won't work. Use references instead:

void MyFunc( CArray(int, int)& array) {...}
...
CArray<int, int> myArray;
myArray.Add(1);
myArray.Add(111);
MyFunc(myArray);


rishabhs wrote:
2)pointer to CArray object (&newTask)

Pass it as you'd do with any other object:
void MyFunc( CArray(int, int)* pArray) {...}
...
CArray<int, int> myArray;
myArray.Add(1);
myArray.Add(111);
MyFunc(&myArray);

GeneralRe: passing CArray in functions Pin
r i s h a b h s29-Jan-03 17:31
r i s h a b h s29-Jan-03 17:31 
GeneralRe: passing CArray in functions Pin
HENDRIK R29-Jan-03 21:40
HENDRIK R29-Jan-03 21:40 
GeneralRe: passing CArray in functions Pin
Alvaro Mendez29-Jan-03 4:07
Alvaro Mendez29-Jan-03 4:07 
GeneralRe: passing CArray in functions Pin
r i s h a b h s29-Jan-03 17:29
r i s h a b h s29-Jan-03 17:29 
Generalmy cancel button is not working Pin
Mr Bose Dayala29-Jan-03 0:02
Mr Bose Dayala29-Jan-03 0:02 
GeneralRe: my cancel button is not working Pin
Debs29-Jan-03 1:48
Debs29-Jan-03 1:48 
GeneralRe: my cancel button is not working Pin
Mr Bose Dayala29-Jan-03 2:13
Mr Bose Dayala29-Jan-03 2:13 
GeneralRe: my cancel button is not working Pin
Debs29-Jan-03 2:36
Debs29-Jan-03 2:36 
GeneralRe: my cancel button is not working Pin
Mr Bose Dayala29-Jan-03 2:40
Mr Bose Dayala29-Jan-03 2:40 
GeneralRe: my cancel button is not working Pin
Debs29-Jan-03 22:56
Debs29-Jan-03 22:56 
GeneralRe: my cancel button is not working Pin
Mr Bose Dayala29-Jan-03 23:05
Mr Bose Dayala29-Jan-03 23:05 
GeneralRe: my cancel button is not working Pin
Debs30-Jan-03 1:02
Debs30-Jan-03 1:02 
GeneralRe: my cancel button is not working Pin
Mr Bose Dayala30-Jan-03 1:23
Mr Bose Dayala30-Jan-03 1:23 
GeneralStrange that CFont::GetLogFont not const Pin
Moak28-Jan-03 23:14
Moak28-Jan-03 23:14 
GeneralRe: Strange that CFont::GetLogFont not const Pin
Member 568844324-Jan-13 6:21
Member 568844324-Jan-13 6:21 
GeneralSuperscipt in sourcecode/dialog caption Pin
John Oliver28-Jan-03 22:49
John Oliver28-Jan-03 22:49 
GeneralRe: Superscipt in sourcecode/dialog caption Pin
Joaquín M López Muñoz29-Jan-03 0:22
Joaquín M López Muñoz29-Jan-03 0:22 

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.