I have resolved the problem . In fact ,it needs to use Windows SDK "CreateProcess()" to launch a executable module , the syntax is as that :
CreateProcess("myfile.exe","myfile MINIMIZE",NULL,NULL,FALSE,CREATE_DEFAULT_ERROR_MODE|DETACHED_PROCESS,NULL,"the directory of myfile",&si,&piProcess),the key is that must specify the launched process's path .then the icon displays normal .the module being called can interpret the imported parameter by comparing argv(in the entry point of main),then determine how to display the panel.In this syntax , I specified "MINIMIZE" as a key character ,then it will display itself in iconized form .
Here , I find another problem :when call the windows API ,"GetWindowInfo()",the compiler can not recognize the function , although
I can find it in winuser.h . Comparing cvi's include file with VC's ,it is different , e.g.,in the CVI's include file , the function ,GetWindowInfo, is defined as :BOOL WINAPI GetWindowInfo(IN HWND hwnd,OUT PWINDOWINFO pwi),but in VC's include file , definition is as :
BOOL WINAPI GetWindowInfo(HWND hwnd,PWINDOWINFO pwi).I do not know if it is a bug resulted in the compiling fail .
David