>>>>Use ShowWindow() with SW_NORMAL (1).
>>>
>>>
>>>Thanks, George. How did I know you'd be the one to reply <g>
>>
>>< s >Because it was the weekend?:-) Actually, I don't know how I beat Ed Rauh to this.< bg >
>
>
>I spoke too soon. The ShowWindow() still isn't working in Win2000. It works fine in Win 9.x and NT. Any other suggestions or comments?
>
>This is the last thing I have to do to the product before it enters beta. Ain't life grand?
Here's my work around in case anyone else needs it. This successfully places the SDI form in the foreground in Win2000
ShowWindow(nHndl,2) && Show Window Minimized Thanks to Win2000
SetForegroundWindow(nHndl)
ShowWindow(mHndle,1) && Show Window Normal
Dan
St. Petersburg, FL
"I started out with nothing and I still have most of it left"