Form objects limit
-
Hi, i'm dealing with a form with about 250 objects, now i cannot insert any other objects. Is there a limit for objects in a form, can i solve by code? Thank you
-
Hi, i'm dealing with a form with about 250 objects, now i cannot insert any other objects. Is there a limit for objects in a form, can i solve by code? Thank you
Do all the objects need to be on the same form, or just all be displayed? You could use property pages to split up the objects, and then display multiple property pages -- Help me! I'm turning into a grapefruit!
-
Hi, i'm dealing with a form with about 250 objects, now i cannot insert any other objects. Is there a limit for objects in a form, can i solve by code? Thank you
If I recall, there is an artificial limit of around 255 controls per window. It may be OS based or editor based. Just can't remember. As Benjymous said, splitting up the controls onto sub-pages may be the best way to go. Roger Allen Sonork 100.10016 If I had a quote, it would be a very good one.
-
If I recall, there is an artificial limit of around 255 controls per window. It may be OS based or editor based. Just can't remember. As Benjymous said, splitting up the controls onto sub-pages may be the best way to go. Roger Allen Sonork 100.10016 If I had a quote, it would be a very good one.
Well, i'm kind of new with Visual C++, i understand the function of DoDataExchange, i read a bit about DDP in MDSN, i understand the concept but i'm sure that i know how to use it, can you give me a example? Most of my objects are used with an array, and for this form i don't have a ClassWizard, i've got a parse error when i try to call it, but the aplication works. Thank you all
-
Well, i'm kind of new with Visual C++, i understand the function of DoDataExchange, i read a bit about DDP in MDSN, i understand the concept but i'm sure that i know how to use it, can you give me a example? Most of my objects are used with an array, and for this form i don't have a ClassWizard, i've got a parse error when i try to call it, but the aplication works. Thank you all
Classwizard doesn't like anything unexpecetd inside the DDX AFX_DATA_MAP(...) comments. If you want to use array items, just move them outside the comment block and classwizard should be happy. If your using DDX, it would recommend sticking to control variables and not CString's etc using UpdateData() as it gives you much more control. But thats just my personal preference. Roger Allen Sonork 100.10016 If I had a quote, it would be a very good one.
-
Classwizard doesn't like anything unexpecetd inside the DDX AFX_DATA_MAP(...) comments. If you want to use array items, just move them outside the comment block and classwizard should be happy. If your using DDX, it would recommend sticking to control variables and not CString's etc using UpdateData() as it gives you much more control. But thats just my personal preference. Roger Allen Sonork 100.10016 If I had a quote, it would be a very good one.
ClassWizard is very happy now, about the variable type, i'm using, for the same object both control and text variables and i hope this is not the cause of my problem. About DDP, is there a easy way to use it? Oor good articles about? Thanks