Click here to Skip to main content
15,890,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAround 500 controls in a Dialog Pin
AnsGe13-Jan-06 3:03
AnsGe13-Jan-06 3:03 
AnswerRe: Around 500 controls in a Dialog Pin
toxcct13-Jan-06 3:10
toxcct13-Jan-06 3:10 
AnswerRe: Around 500 controls in a Dialog Pin
Maximilien13-Jan-06 3:13
Maximilien13-Jan-06 3:13 
GeneralRe: Around 500 controls in a Dialog Pin
Rajesh R Subramanian13-Jan-06 18:55
professionalRajesh R Subramanian13-Jan-06 18:55 
AnswerRe: Around 500 controls in a Dialog Pin
khan++13-Jan-06 3:18
khan++13-Jan-06 3:18 
GeneralRe: Around 500 controls in a Dialog Pin
Shraddhan23-Jan-06 0:19
Shraddhan23-Jan-06 0:19 
GeneralRe: Around 500 controls in a Dialog Pin
khan++23-Jan-06 0:45
khan++23-Jan-06 0:45 
GeneralRe: Around 500 controls in a Dialog Pin
Shraddhan23-Jan-06 1:04
Shraddhan23-Jan-06 1:04 
Whether or not 500 controls will fit on a mere 1024 x 768 display surely depends on how big they are and what they do. I don't know what the original questioner had in mind.

I know that I have a dialog that will hold up to 120 CEdit controls and about a dozen others, and the property sheet technique will not help as they all need to be visible at the same time. However, as my screen resolution is a pleasant 2304 x 864, this is perfectly OK.

I note with interest your comment on my code smippet that

CStatic m_Static[500];

is not a very good idea. Please tell me why not? As the array is a member of a class (a CDialog), I don't need to worry about deleting it.

So in what way is using new better?

Shraddhan
GeneralRe: Around 500 controls in a Dialog Pin
khan++23-Jan-06 1:13
khan++23-Jan-06 1:13 
GeneralRe: Around 500 controls in a Dialog Pin
Shraddhan23-Jan-06 1:22
Shraddhan23-Jan-06 1:22 
GeneralRe: Around 500 controls in a Dialog Pin
khan++23-Jan-06 1:32
khan++23-Jan-06 1:32 
AnswerRe: Around 500 controls in a Dialog Pin
Sheng Jiang 蒋晟13-Jan-06 18:18
Sheng Jiang 蒋晟13-Jan-06 18:18 
AnswerRe: Around 500 controls in a Dialog Pin
ThatsAlok15-Jan-06 18:54
ThatsAlok15-Jan-06 18:54 
QuestionDebug a 6.0.DLL from VS.NET Pin
eddyroth13-Jan-06 2:40
eddyroth13-Jan-06 2:40 
AnswerRe: Debug a 6.0.DLL from VS.NET Pin
Chris Losinger13-Jan-06 4:36
professionalChris Losinger13-Jan-06 4:36 
GeneralRe: Debug a 6.0.DLL from VS.NET Pin
eddyroth13-Jan-06 5:44
eddyroth13-Jan-06 5:44 
GeneralRe: Debug a 6.0.DLL from VS.NET Pin
Chris Losinger13-Jan-06 5:46
professionalChris Losinger13-Jan-06 5:46 
GeneralRe: Debug a 6.0.DLL from VS.NET Pin
eddyroth13-Jan-06 6:01
eddyroth13-Jan-06 6:01 
GeneralRe: Debug a 6.0.DLL from VS.NET Pin
Nish Nishant13-Jan-06 6:26
sitebuilderNish Nishant13-Jan-06 6:26 
GeneralRe: Debug a 6.0.DLL from VS.NET Pin
eddyroth13-Jan-06 6:51
eddyroth13-Jan-06 6:51 
GeneralRe: Debug a 6.0.DLL from VS.NET Pin
Nish Nishant13-Jan-06 10:16
sitebuilderNish Nishant13-Jan-06 10:16 
GeneralRe: Debug a 6.0.DLL from VS.NET Pin
eddyroth15-Jan-06 21:40
eddyroth15-Jan-06 21:40 
GeneralRe: Debug a 6.0.DLL from VS.NET Pin
Chris Losinger13-Jan-06 7:32
professionalChris Losinger13-Jan-06 7:32 
GeneralRe: Debug a 6.0.DLL from VS.NET Pin
eddyroth15-Jan-06 21:43
eddyroth15-Jan-06 21:43 
QuestionCListCtrl: Automatic Scroll Down Pin
romuzu13-Jan-06 2:28
romuzu13-Jan-06 2:28 

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.