Is there a limited amount of objects per window?

 

Hello folks, 

I'm developing a complex trading panel for more than 20 symbols.

Do you know if is there any kind of limited of the number of objects per Panel?

It looks like it is stucked in 350 CButtons or CLabels.

 
No its not
 
amando:
No its not

Do you know why this kind of function is breaking before completed all process ?
coincidentally is stopping after 350 objects.


        int sym_=27;    
        for(int i=0 ; i<(sym_*4-1) ; i++)
         {
          int x;
          CreateButton(m_chart_id,m_subwin,r1[i],"  ",300,45+5*i,20,4);
          if(i>0 && i<sym_)
            {
             x=i*4-1;
             r1[x].Hide();
            }
         }
            
      for(int i=0 ; i<(sym_*4-1) ; i++)
         {
          int x;
          CreateButton(m_chart_id,m_subwin,r2[i],"  ",330,45+5*i,20,4);
          if(i>0 && i<sym_)
            {
             x=i*4-1;
             r2[x].Hide();
            }
         }         
         
      for(int i=0 ; i<(sym_*4-1) ; i++)
         {
          int x;
          CreateButton_rvi(m_chart_id,m_subwin,r3[i],"  ",360,45+5*i,20,4);
          if(i>0 && i<sym_)
            {
             x=i*4-1;
             r3[x].Hide();
            }
          }        
Reason: