Click here to Skip to main content
16,003,462 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CWaitCursor Pin
Steve Hopkins30-Apr-02 5:04
Steve Hopkins30-Apr-02 5:04 
GeneralRe: CWaitCursor Pin
Ravi Bhavnani30-Apr-02 9:08
professionalRavi Bhavnani30-Apr-02 9:08 
GeneralRe: CWaitCursor Pin
Philippe Mori30-Apr-02 13:27
Philippe Mori30-Apr-02 13:27 
GeneralDisabling button at runtime Pin
girishc30-Apr-02 4:18
girishc30-Apr-02 4:18 
GeneralRe: Disabling button at runtime Pin
lucy30-Apr-02 4:29
lucy30-Apr-02 4:29 
GeneralRe: Disabling button at runtime Pin
Roger Allen30-Apr-02 4:31
Roger Allen30-Apr-02 4:31 
GeneralMax # of variables passed before using struct Pin
Codin' Carlos30-Apr-02 4:16
Codin' Carlos30-Apr-02 4:16 
GeneralRe: Max # of variables passed before using struct Pin
Paul M Watt30-Apr-02 5:35
mentorPaul M Watt30-Apr-02 5:35 
The number that I have grown accustomed to is 7. But that is more because I used to program for Sun machines, and that is the number of variables that would be placed in registers before they were passed on the stack.

This is not really an issue with the VC++ compiler because it always passes the paraemters on the stack. Therefore a sensible number between 4 and 7 is good, but it will not hurt you to have a number of parameters like 10. It just becomes more cumbersome.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: Max # of variables passed before using struct Pin
Paul M Watt30-Apr-02 10:04
mentorPaul M Watt30-Apr-02 10:04 
GeneralRe: Max # of variables passed before using struct Pin
Mike Nordell1-May-02 8:54
Mike Nordell1-May-02 8:54 
GeneralRe: Max # of variables passed before using struct Pin
Tim Smith30-Apr-02 6:01
Tim Smith30-Apr-02 6:01 
GeneralRe: Max # of variables passed before using struct Pin
Codin' Carlos30-Apr-02 9:05
Codin' Carlos30-Apr-02 9:05 
GeneralRe: Max # of variables passed before using struct Pin
Ravi Bhavnani30-Apr-02 9:11
professionalRavi Bhavnani30-Apr-02 9:11 
GeneralRe: Max # of variables passed before using struct Pin
Chris Losinger30-Apr-02 9:30
professionalChris Losinger30-Apr-02 9:30 
GeneralRe: Max # of variables passed before using struct Pin
Philippe Mori30-Apr-02 13:47
Philippe Mori30-Apr-02 13:47 
Generaluser input to var name Pin
jimNLX30-Apr-02 3:51
jimNLX30-Apr-02 3:51 
GeneralRe: user input to var name Pin
Konrad Rotuski30-Apr-02 3:58
Konrad Rotuski30-Apr-02 3:58 
GeneralRe: user input to var name Pin
Ravi Bhavnani30-Apr-02 9:12
professionalRavi Bhavnani30-Apr-02 9:12 
GeneralRe: user input to var name Pin
jimNLX1-May-02 5:48
jimNLX1-May-02 5:48 
GeneralLooking for sample code to put a minimize to tray button in the caption of a window. Pin
Kurt _B30-Apr-02 3:45
Kurt _B30-Apr-02 3:45 
GeneralRe: Looking for sample code to put a minimize to tray button in the caption of a window. Pin
-Dy30-Apr-02 4:53
-Dy30-Apr-02 4:53 
GeneralRe: Looking for sample code to put a minimize to tray button in the caption of a window. Pin
Thomas Freudenberg30-Apr-02 4:56
Thomas Freudenberg30-Apr-02 4:56 
GeneralRe: Looking for sample code to put a minimize to tray button in the caption of a window. Pin
Kurt _B30-Apr-02 5:09
Kurt _B30-Apr-02 5:09 
GeneralShowing MDI Childwnd maximized Pin
Konrad Rotuski30-Apr-02 3:42
Konrad Rotuski30-Apr-02 3:42 
GeneralRe: Showing MDI Childwnd maximized Pin
Mazdak30-Apr-02 3:48
Mazdak30-Apr-02 3:48 

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.