Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Maximum Number Of Windows

Posted on 1999-08-22
Medium Priority
Last Modified: 2013-12-29
It is my understanding that Windows 95/98 allow a maximum of 255 windows on the screen. Perhaps this is child windows. I'm not sure.

Either way, how can I increase this maximum value. Is there a registry entry?
Question by:flfmdll
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 25

Accepted Solution

dew_associates earned 400 total points
ID: 1678771
Flfmdll, indeed you are correct, 255 is the limit, but this isn't controlled in the regsitry, it is controlled in the Win 32 API interface code.

Expert Comment

ID: 1678772
Hey Dew, (sounds like the song Hey Jude eh? :))) ) err, although it would be something that won't happen (the 255 simultaneous windows), what do you think is the reason for them programmers to almost always use 255 as the cap for almost everything? Like in dos prompts, the max number of characters is 255, the long filenames, 255... what's with 255!!??? :))

LVL 25

Expert Comment

ID: 1678773
Femson, although Win98 has 32Bit capability, it is still tied to 16Bit that's needed to run Dos based applications and thus 8.3 file names. Dos architecture has a 255 character limit. If this is removed, such as what will occur as OS's move to 64Bit, Dos apps will no longer run.

Author Comment

ID: 1678774
Okay. Back to design for my application.

Expert Comment

ID: 7389051
Earlier versions of Windows ran out of available windows alot.  256 = 2 ^ 8 or 0 to 255 if all windows were indexable via an array.  Keep in mind, windows are not just windows, they can be anything derived from the mfc window object.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question