Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ShowWindow then minimise?

Status
Not open for further replies.

TimSNL

Programmer
Sep 11, 2001
119
AU
Hello.

What is the best way to bring my application back up if it is sitting minimised on the start bar?

I have been doing this:
Code:
    ShowWindow(Hwnd,SW_SHOWDEFAULT);
    SetForegroundWindow(Hwnd);

When the above code runs, it does bring my application back up, but from that point on the minimise button does not seem to work anymore. Does anyone know why this would happen? [dazed]

Thanks for your help.
Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top