background preloader

Windows

Facebook Twitter

Window Features (Windows) - Iceweasel. This overview discusses features of windows such as window types, states, size, and position.

Window Features (Windows) - Iceweasel

Window Types This section contains the following topics that describe window types. Overlapped Windows An overlapped window is a top-level window that has a title bar, border, and client area; it is meant to serve as an application's main window. It can also have a window menu, minimize and maximize buttons, and scroll bars. Pop-up Windows Child Windows A child window has a client area but no other features, unless they are explicitly requested. This section discusses the following: Positioning The system always positions a child window relative to the upper left corner of its parent window's client area. Clipping Relationship to Parent Window The parent window relinquishes a portion of its client area to a child window, and the child window receives all input from this area.

Messages Layered Windows. Win32 Performance Measurement Options. Win32 Debug CRT Heap Internals - Iceweasel. … by Andrew Birkett (andy@nobugs.org) If you are lazy, skip the explanation and jump to the table at the bottom of the page When you compile programs with DevStudio in debug mode, all of your calls to malloc() and free() use a special “debug” implementation.

Win32 Debug CRT Heap Internals - Iceweasel

Rather than being blazingly fast, the debug heap concerns itself with spotting heap errors. It achieves this by surrounding your memory blocks with guard bytes (aka “no mans land”, 0xFD) so that it can detect buffer overruns and underruns. TheForger's Win32 API Tutorial - Iceweasel. Welcome to theForger's Win32 API Tutorial This tutorial attempts to get you started developing with the Win32 API as quickly and clearly as possible.

theForger's Win32 API Tutorial - Iceweasel

Download Full Example Code The tutorial text does not include full source code listings, you will need to download this .zip if you want to compile the completed examples. This tutorial is meant to be read as a whole Please read it from beginning to end before asking questions... most of them will probably be answered. If you are viewing this locally or on another website, visit the #winprog website for the current official copy. The translation and PDF versions are unfortunately difficult to update, and are based on older versions of the tutorial. Visual Styles Reference (Windows) - Iceweasel. Use Our ManWrap Library to Use .NET in Native C++ Code - Iceweasel. Good hygiene and Banned APIs - The Security Development Lifecycle - Site Home - MSDN Blogs - Iceweasel.

Jeremy Dallman here with a quick note about a code sanitizing tool we are making available to support one of the SDL requirements – Remove all Banned APIs from your code.

Good hygiene and Banned APIs - The Security Development Lifecycle - Site Home - MSDN Blogs - Iceweasel

Set up your system to use Microsoft's public Symbol Server - Scott Hanselman - Iceweasel. Microsoft Visual C++ Tips and Tricks - Iceweasel. By Alan De Smet If you're stuck using Microsoft Visual C++, these tips may help make the experience more pleasant.

Microsoft Visual C++ Tips and Tricks - Iceweasel

I've been collecting these little tidbits for a while, and decided to collect them in one spot. I've chosen to collect them here because I can't think of a better spot. First thing, get yourself a copy of Workspace Whiz. Workspace Whiz gives you a nice GUI interface to Exhuberant CTAGS. Next, get yourself a copy of STLFilt. Whenever I refer to the "sharedide" directory, you'll need to change it to the appropriate directory. Show compile duration Simply add '/Y3' to the command line of VC (In the short cut).

HTML Help Downloads - Iceweasel. All HTML Help downloads are now available from the Microsoft.com Download Center.

HTML Help Downloads - Iceweasel

Note The latest version of the HTML Help technology is 1.4, as is the SDK. The latest version of HTML Help Workshop is 1.3. As of June 2009 there is no HTML Help Workshop 1.4. HTML Help Workshop Download Htmlhelp.exe A Japanese version of HTML Help Workshop is also available: John Robbins' Blog : PDB Files: What Every Developer Must Know - Iceweasel. Thanks for visiting one of the most popular pieces I’ve ever written!

John Robbins' Blog : PDB Files: What Every Developer Must Know - Iceweasel

Based on questions I’ve written a few follow up articles you might find useful to extend your PDB knowledge after reading this one. Keeping Specific PDB Files from Loading in the Debugger Do PDB Files Affect Performance? Correctly Creating Native C++ Release Build PDBs How Many Secrets do .NET PDB Files Really Contain? Introduction to the Windows Threadpool (Part 1) - Hari's Blog - Site Home - MSDN Blogs - Iceweasel. Download source code from MSDN Code Gallery.

Introduction to the Windows Threadpool (Part 1) - Hari's Blog - Site Home - MSDN Blogs - Iceweasel

I regularly receive feedback that the Win32 Threadpool API is complex and there is a need for better examples. To improve this situation, I decided to create three wrapper C++ classes which provide the following; queuing work items, associating callbacks with events and timer functionality. You can directly use these wrapper classes or look at the source to understand how to use the Threadpool APIs.

These classes are header only code in the windowsthreadpool namespace and can be used by including the header file “WindowsThreadPool.h”. The entire source code is available on MSDN Code Gallery. Guidelines for Applications (Windows) - Iceweasel. Best Practices for Creating DLLs - Iceweasel. Creating DLLs presents a number of challenges for developers.

Best Practices for Creating DLLs - Iceweasel

DLLs do not have system-enforced versioning. When multiple versions of a DLL exist on a system, the ease of being overwritten coupled with the lack of a versioning schema creates dependency and API conflicts. Complexity in the development environment, the loader implementation, and the DLL dependencies has created fragility in load order and application behavior.

Lastly, many applications rely on DLLs and have complex sets of dependencies that must be honored for the applications to function properly. This document provides guidelines for DLL developers to help in building more robust, portable, and extensible DLLs. General Best Practices. Effective minidumps (MiniDumpWriteDump, MiniDumpCallback) - Iceweasel. Updated: 07.02.2005 Contents Introduction In the last couple of years, crash dumps became an important part of our debugging activities.

Effective minidumps (MiniDumpWriteDump, MiniDumpCallback) - Iceweasel

The possibility to create a snapshot of the application state at the exact moment of failure and analyze it with a conventional debugger running on the developer’s machine is invaluable when our software fails on the customer’s site or in the test lab. The first generation of crash dumps, often called “full user dumps”, captured the whole contents of the process’ virtual memory. GDI+ FAQ main index - Iceweasel. Welcome : GDI+ FAQ GDI+ is a native C++ DLL that was originally created for the Microsoft Office suite.

It has graphical capabilities that were far in advance of the original Windows graphics system, GDI. "How Do I?" Videos for Native Coding - Iceweasel. MFC Windows Coding Guidelines - CodeProject - Iceweasel. Contents Prerequisites By function I mean: global function static/instance method Carefully read the documentation/Press F1 (Ctrl-F1) if you are not sure about something Switch these options on in your Visual Studio project options.

MFC

Www.catch22.net - Iceweasel.