This sample application shows how to pass application state data in the WM_NCCREATE message.
The BaseWindow sample application is a variation on the Windows Hello World Sample. It uses the WM_NCCREATE message to pass application data to the window procedure. This sample is discussed in the topic Managing Application State.
This sample is available in the MSDN Code Gallery at http://go.microsoft.com/fwlink/?LinkId=184839.
- Learn to Program for Windows: Sample Code
- Managing Application State
- Module 1. Your First Windows Program
Build date: 10/5/2010