How to minimize main Windows using GTWVG WvgCrt() object

56 views
Skip to first unread message

Anupam

unread,
Oct 10, 2025, 9:39:40 AM (7 days ago) Oct 10
to Harbour Users

I try to minimize the main window when a WvgCrt() modal window is open. I tried sending a message to minimize the parent of oCrt when clicking a button, but it’s not working.

Here’s the code I used:

{|| Wvg_SendMessage( oCrt:oParent:getHWND(), WM_SYSCOMMAND, SC_MINIMIZE, 0 ) }

Is this the correct message to minimize the main window? 

or any other way to minimize...?


Regards,
Anupam
Reply all
Reply to author
Forward
0 new messages