|
-
April 20th, 2004, 09:15 AM
#1
strange... SetWindowPos
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|