>>>>>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,
Unfortunately, I'll have to drop out here. I don't have Win2K installed to test what's going on. The only thing I see is to different window handles in the above. Typo?
George
Ubi caritas et amor, deus ibi est