Copy Constructor and operator=

14 05 2011

It turns out that there are two types of constructors the compiler can generate automatically. We already saw how the compiler will supply a default (zero-arg) constructor if the programmer does not specify one. Read the rest of this entry »

Advertisements




Some handy dialog box tricks

8 05 2011

Introduction

These are some tricks I’ve discovered along the way when I’ve been using dialog boxes both in non-dialog based apps and in dialog-based apps. Some of the might seem naive but yet are pretty handy. I thought I’d share some of these tricks with you. Read the rest of this entry »





Keyboard messages handling

8 05 2011

Introduction

There are a substantial number of Windows programmers who insist, often very vehemently, that a programmer should avoid overridingĀ PreTranslateMessage. They have their reasons for saying so and I believe they are correct. Read the rest of this entry »