Click here to Skip to main content
15,891,951 members
Articles / Programming Languages / C++

Double click handling on a CButton (using PreSubclassWindow)

Rate me:
Please Sign up or sign in to vote.
4.86/5 (5 votes)
24 Oct 2012CPOL2 min read 18.5K   394   8  
Easly handle double click on a CButton by adding an extera style in PreSubclassWindow.
// stdafx.cpp : source file that includes just the standard includes
//	ButtonEx.pch will be the pre-compiled header
//	stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"



By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions