Nikon82
April 20th, 2004, 09:15 AM
This window is created when is executed an application that i launch in my code with shellexecute...
HINSTANCE hHaptek;
HWND wHaptek;
HWND wHaptekC;
hHaptek= ShellExecute(NULL, "open","haptek.exe","", "c:\\",SW_SHOW);
Sleep(3000);
wHaptek= FindWindow("ThunderRT6Main", "Wrapper Haptek");
if (wHaptek!=NULL)
MessageBox(wHaptek,"Esiste","on",MB_OK);
wHaptekC=SetParent(wHaptek,hWndP); //is child of another window
if (wHaptekC!=NULL)
MessageBox(wHaptek,"EsisteFiglio","on",MB_OK);
Sleep(2000);
ShowWindow(wHaptekC,SW_MAXIMIZE);
The handle exist but...
I try function SetWindowPos, ShowWindow, SetWindowText and no one work.
Excuse me for my bad english........... :)..... I'm italian!
Help me!
HINSTANCE hHaptek;
HWND wHaptek;
HWND wHaptekC;
hHaptek= ShellExecute(NULL, "open","haptek.exe","", "c:\\",SW_SHOW);
Sleep(3000);
wHaptek= FindWindow("ThunderRT6Main", "Wrapper Haptek");
if (wHaptek!=NULL)
MessageBox(wHaptek,"Esiste","on",MB_OK);
wHaptekC=SetParent(wHaptek,hWndP); //is child of another window
if (wHaptekC!=NULL)
MessageBox(wHaptek,"EsisteFiglio","on",MB_OK);
Sleep(2000);
ShowWindow(wHaptekC,SW_MAXIMIZE);
The handle exist but...
I try function SetWindowPos, ShowWindow, SetWindowText and no one work.
Excuse me for my bad english........... :)..... I'm italian!
Help me!