your product is really good but I have a big problem with close application when Im installing update. I readed that my application has to handle WM_CLOSE. Is it possible a example how set WM_CLOSE? Im using visual studio 2010, windows form and c#. Sorry my incompetence, I searched in many forums online without success.
I founded this code, but I dont know how I have to use it.
Code: Select all
private const int WM_CLOSE = 0x0010;
protected override void WndProc(ref Message m) {
if (m.Msg == WM_CLOSE) {
// Close everything
}
base.WndProc(ref m);
}
FOLLOW US
Get the latest news in Application Packaging