You shuld use RegisterWinMsgCallback in CVI to catch Windows standard
messages.
--
Marco Turra
Soft. Department
HI-TEC S.r.l.
Via Agrigento 9
20148 - MILAN
ITALY
Tel. +39.02.39262464
Fax. +39.02.39260434
Web Site: http://www.hi-tec.it
E-mail : marco.turra@hi-tec.it
"Wilbert" wrote in message
news:50650000000800000043E70000-1079395200000@exchange.ni.com...
> I am trying to close a CVI application from a VC++ 6.0 application,
> But I can.
>
> I tried with DestroyWindows(); PostMessage(hwnd, WM_CLOSE, 0,0) and
> Still I can not doit.
>
> Can somebody help me.
>
> Thanks