ShowWindow()

ShowWindow()

Postby driessen » Fri Nov 21, 2008 9:30 am

Hello,

In my application I have defined a window oWnd.

At a certain position in my application, the window may not be minimized. So I try to use ShowWindow() to make this happen.

I tried several possibilities :

ShowWindow(oWnd,1)
ShowWindow(oWnd,5)
ShowWindow(oWnd,9)

but nothing helps : the window is not put back into normal position.

What do I do wrong ?

Thanks a lot for any help.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby gkuhnert » Fri Nov 21, 2008 11:36 am

Hello Driessen,

ShowWindow expects the handle of a window.
In my source code it looks like this:

ShowWindow(oWnd:hWnd,9)
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
User avatar
gkuhnert
 
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands

Postby driessen » Fri Nov 21, 2008 12:04 pm

Gilbert,

Thanks a lot for you advice.

It works and my problem is solved.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 99 guests