Unload without WM_CLOSE

xtremist525
01-02-2004, 11:14 AM
Is it possible to unload and destroy a form without having WM_CLOSE messages be sent out (e.g. to other controls, OCXs and windows)?

I've tried using the DestroyWindow() API but it hasn't helped.

Any suggestions?

Optikal
01-02-2004, 11:49 AM
Why do you not want WM_CLOSE messages going out?

It is probably possible to subclass the form and eat the message, but this is usually not a good idea.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum