Dcs World Windows 11

1 view
Skip to first unread message

Maryetta Worm

unread,
Jul 26, 2024, 2:22:32 AM7/26/24
to niceeditor

Window World offers energy-efficient replacement windows, exterior doors, siding, and more for homeowners around the USA. With each product comes the promise of quality, professional installation, at a guaranteed low price.

Following a little discussion on my Facebook page initiated by my Xamarin colleague and old friend Larry O'Brien, I began to realize that some people believe that I invented the excessively overlong Windows "Hello World" program. I'm afraid I did not.

I learned Windows programming from documents included with the Windows 1.0 beta and release Software Development Kits. These included a printed API reference, of course, but beyond that the most important document was the Programming Guide, which was published with the SDK in 1985 as 258 7"x9" looseleaf pages in a binder. This document contained five sample programs that I studied in great depth in attempting to learn the Windows API. These samples were named

Although it was the very first Windows sample program, the HELLO program was quite fancy: Besides displaying "Hello Windows" in its title bar and client area, it added an About item to the system menu and displayed a dialog box when that item was selected.

The HELLO.H header file is missing from the book, but it was undoubtedly very short and only defined identifers that were referenced in both the C file and the HELLO.RC resource script, which looked like this:

As I studied this program and experimented with it, it became quite obvious to me that it was longer and more complex than it needed to be. I began to believe that it was not a good introductory program for someone learning the Windows API, and I thought that explaining Windows programming might benefit with something shorter and simpler. So I methodically began trimming this program down to size. (I had no idea at the time I might actually write a book about Windows programming, but it helps me in learning something new if I imagine trying to explain it to somebody else.)

I wondered if the code could be restructured to add clarity. The separate definitions of the HelloInit and HelloPaint functions seemed unnecessary, so I eliminated those and replaced the function calls with the bodies of those functions.

I think I then started looking at the text strings. As you can see, towards the top of the file some global char pointers are declared, and the beginning of WinMain uses LocalAlloc to allocate memory for these strings and then load them from the resource script with LoadString. Although I recognized the value of defining strings external to the source code, the needs of internationalization didn't seem appropriate for a first program. I wondered if the strings could be declared and initialized right in the source code, and it turned out they could. (Keep in mind that it was not at all obvious that standard C programming practices would work in a Windows program. That's how weird this was.)

Following the CreateWindow call, calls to GetSystemMenu and ChangeMenu put another item on the system menu. I wondered: Was this absolutely necessary to the proper functioning of a Windows program? I commented out those lines, and the program still ran. Because the program could no longer display the dialog box, I eliminated the About function and the processing of the WM_SYSCOMMAND message and the dialog template, and then I realized the only thing left in the resource script was the icon. Could a Windows program survive without a custom icon? Apparently yes. Could a Windows program be compiled and linked without a resource script? Turned out it could.

I tried a bunch of other simplifications. Some worked, some did not. But eventually I got it down to the bare essentials: Two functions, seven local variables, no yucky global variables, and no resource script.

The first edition of Programming Windows was published in 1988 and focused on Windows 2. Interestingly, the first code in that book did not present the "classical" Windows "Hello World" program but instead played around with multiple windows and let the titlebars say "hello.". You can browse the code from that first edition here:

It was the second edition of Programming Windows (1990 and focusing on Windows 3.0) that first included what is now the familiar Windows "Hello World" program. Here's all the source code from that edition:

Increase the value of your home with vinyl replacement windows from Window World. Energy-efficient and custom-made, our vinyl replacement windows are the best option to elevate your home and are the perfect fit for every budget and style.

Replace your damaged windows and siding with energy-efficient products built to withstand severe weather. Rushed delivery is available to help you recover from Hurricane Beryl and fortify your home for the next storms to come.

Window World provides high quality, energy efficient windows and doors professionally installed by industry experts. We ranked highest in Customer Satisfaction with windows and patio doors 3 out of 4 years in a row. Our products also carry the Good Housekeeping seal of approval and come with our amazing Limited Lifetime Warranty.

Window World windows & doors beautify and modernize homes, while lowering your energy costs through energy efficiency technology & heat saving design. Economically designed to minimize effective heat loss, Window World windows are made of the highest quality insulated vinyl.

Let us help you with our FREE In-Home Demonstration to customize the order of your vinyl windows and doors to your personal preferences. With superior service and the highest level of satisfaction to home owners, Window World of Buffalo employs factory trained, professional installers who are devoted to the strictest standards in the industry and we provide an all-around pleasant experience from the initial estimate to the completed installation of your beautiful new windows and doors.

We serve Buffalo, Niagara Falls and surrounding areas including Erie, Niagara, Wyoming, Genesee, and Orleans Counties. To set up your free, no obligation, in-home demonstration, you can fill out our easy demo request form, or give us a call. We look forward to being part of your home improvement project!

We had 8 new windows put in our home & Window World did a fantastic job! The 2 men that came to install the windows were efficient and professional. I would definitely recommend Window World!
- Nikki

Could there be a way out if we look ito the natural world or go glassless? A break in the dense canopy allowing for a window into the sky? Gives me hope for windows but then I think doors will also gain territory. I can see and would make the argument for many natural doors

I never thought I would find the perfect people to install my windows at a great price, excellent workmanship with courteous, honest respectable guys too. They worked fast even while explaining every necessary detail to me. Window World truly lived up to their name along with all my expectations. So far, all the folks I've encountered at Window World are awesome but I think most of all Honest and Sincere which is rare today. I definitely recommend Window World to everyone out there as No job is too small and no location too far as they are all over. Thank you Phoenix who gave me the best contract possible and Thank you Cory and Cody who did a fantastic job installing my windows. Will be calling them again for my future window replacements. Be safe everyone. Peace Zaira Ali, Clarksville.
- Zaira

Window World of Clarksville uses a secure system to ensure the safety of your sensitive information. Click 'Make a Payment' below to get started! For information regarding how Window World of Clarksville stores or uses your data, please review our Privacy Policy.

Our windows are manufactured by Associated Materials Incorporated (AMI), which is located in Akron, Ohio. AMI was founded in 1947 and is one of the largest replacement window manufacturers in the world.

At Window World of Dallas-Fort Worth, our variety of financing options allow you to enjoy your new windows or doors now, while paying over time. The Window World credit card is issued with approved credit by Wells Fargo Bank N.A., and is a convenient way to accomplish all your home improvement projects. Simply enter your application information and receive a credit decision in no time. Learn More

Yes. Our windows are designed to be as energy-efficient as they are beautiful. Our energy-efficient windows help keep heated and cooled air inside your home where it belongs. This allows your HVAC system to work more efficiently, reducing the amount of greenhouse gases your home releases into the environment and saving you money on your energy bills every month. Learn more about what makes our windows energy efficient in the video below or visit our energy efficiency page.

Your replacement windows will be installed within 4-8 weeks from the date that the final measurements are taken. The type of replacement window being installed and type being removed help determine the amount of time needed to install your replacement windows. On average each window takes about 30 minutes. Trim work and cleanup will require additional time to complete. An average job will take a single day. Learn More

Please take down curtains, blinds, or any other window treatments. Security sensors should also be removed and turned off by your security company. Please provide our installation expert with a clear path to the window(s) being replaced by moving anything that may be in the way. It is also advisable to remove all wall decorations from the walls close to the windows as they may fall during removal or installation. Learn More

After installing your new replacement windows we remove every bit of debris from your property and dispose of it properly. If you wish to keep your old windows, glass or storm windows, please notify the installer as soon as he arrives for your installation. Learn More

Reply all
Reply to author
Forward
0 new messages