FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ShowWindow()
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
ShowWindow()
Posted: Fri Nov 21, 2008 09: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. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 274
Joined: Fri Apr 04, 2008 01:25 PM
ShowWindow()
Posted: 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
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
ShowWindow()
Posted: 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. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Continue the discussion