Probably, you got anoter window handle. Just use Spy++ to see if that's true.
And/or try this:
HWND hWnd = ::FindWindow(_T("XLMAIN"), NULL);
if(NULL != hWnd)
{
if(!...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: ovidiucucu Search: Search took 0.06 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |