Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing the screen object limit from 255

Status
Not open for further replies.

rswebscan

IS-IT--Management
May 13, 2002
18
US
C++ limits the number of objects displayed on a screen to 255. Is there a way around this? I'm writing a data entry program which will have many more objects than 255.

Thanks...Rick
 
Rick,

The MSDN library tells the following :

Windows 95/98/Me: The system can support a maximum of 255 controls per dialog box template. To place more than 255 controls in a dialog box, create the controls in the WM_INITDIALOG message handler rather than placing them in the template.

So it is not a C++ limit, but a dialog-box template limit which should not be there under NT/2000/XP. Marcel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top