Click here to Skip to main content
15,917,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhy VC++? Pin
HakunaMatada13-Apr-06 22:36
HakunaMatada13-Apr-06 22:36 
AnswerRe: Why VC++? Pin
toxcct13-Apr-06 22:42
toxcct13-Apr-06 22:42 
GeneralRe: Why VC++? Pin
HakunaMatada13-Apr-06 23:10
HakunaMatada13-Apr-06 23:10 
AnswerRe: Why VC++? Pin
David Crow14-Apr-06 2:50
David Crow14-Apr-06 2:50 
Questioninclude files Pin
uriblum13-Apr-06 22:35
uriblum13-Apr-06 22:35 
AnswerRe: include files Pin
toxcct13-Apr-06 22:42
toxcct13-Apr-06 22:42 
QuestionAbout a Ebook "Inside OLE" Pin
tombfifa13-Apr-06 22:20
tombfifa13-Apr-06 22:20 
QuestionWorking with WM_DESTROY Pin
Axonn Echysttas13-Apr-06 22:08
Axonn Echysttas13-Apr-06 22:08 
Hi people ::- ). I'm working at a wrapper over the Win32 API that will be able to create lots of types of windows, some with tons of special behaviors. This component will be open source and I'll post it here when it's going to be ready. One of the things I'm trying to do is to override how the window gets destroyed. To do this, I got to play a little with the close button of the window.

When one presses this button, the window dies directly. I want to integrate a special behavior which will give me total control of when the window should be destroyed completely. Of course, as you might have already guessed, since this is a Win32 API, I got full control of all messages BUT NO MFC. So how do you think I could override those WM_DESTROY messages?

Thank you in advance ::- D.

-= E C H Y S T T A S =-
The Greater Mind Balance

Blending C++ with COM ^
AnswerRe: Working with WM_DESTROY Pin
Michael Dunn13-Apr-06 22:14
sitebuilderMichael Dunn13-Apr-06 22:14 
GeneralRe: Working with WM_DESTROY Pin
Axonn Echysttas14-Apr-06 0:19
Axonn Echysttas14-Apr-06 0:19 
AnswerRe: Working with WM_DESTROY Pin
Le Thanh Cong13-Apr-06 22:39
Le Thanh Cong13-Apr-06 22:39 
AnswerRe: Working with WM_DESTROY Pin
CodeVarma14-Apr-06 19:18
CodeVarma14-Apr-06 19:18 
QuestionGet username of remote PC Pin
Le Thanh Cong13-Apr-06 22:05
Le Thanh Cong13-Apr-06 22:05 
AnswerRe: Get username of remote PC Pin
Mila02513-Apr-06 23:53
Mila02513-Apr-06 23:53 
GeneralRe: Get username of remote PC Pin
Le Thanh Cong13-Apr-06 23:58
Le Thanh Cong13-Apr-06 23:58 
QuestionCOM like MS.Equation in MS.Word Pin
vtalau13-Apr-06 21:44
vtalau13-Apr-06 21:44 
Questiontab control mfc Pin
brouka13-Apr-06 20:59
brouka13-Apr-06 20:59 
AnswerRe: tab control mfc Pin
Aqueel13-Apr-06 21:04
Aqueel13-Apr-06 21:04 
AnswerRe: tab control mfc Pin
Ștefan-Mihai MOGA13-Apr-06 21:05
professionalȘtefan-Mihai MOGA13-Apr-06 21:05 
AnswerRe: tab control mfc Pin
Hamid_RT13-Apr-06 21:19
Hamid_RT13-Apr-06 21:19 
AnswerRe: tab control mfc Pin
Le Thanh Cong13-Apr-06 22:02
Le Thanh Cong13-Apr-06 22:02 
QuestionMonitoring Registry Pin
kiranin13-Apr-06 19:53
kiranin13-Apr-06 19:53 
AnswerRe: Monitoring Registry Pin
Hamid_RT13-Apr-06 20:28
Hamid_RT13-Apr-06 20:28 
GeneralRe: Monitoring Registry Pin
kiranin13-Apr-06 20:37
kiranin13-Apr-06 20:37 
GeneralRe: Monitoring Registry Pin
Ștefan-Mihai MOGA13-Apr-06 20:57
professionalȘtefan-Mihai MOGA13-Apr-06 20:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.