FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour DEFINE WINDOW MDI with NOSYSMENU?
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
DEFINE WINDOW MDI with NOSYSMENU?
Posted: Tue Jul 02, 2013 09:50 AM

I would like to create MDICHILD belong to Main WINDOW with NOSYSMENU (as Metro). The MDI command is not support with NOSYSMENU or METRO?

Has the way to do it?

Thanks in advance for any advise.

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: DEFINE WINDOW MDI with NOSYSMENU?
Posted: Tue Jul 02, 2013 07:11 PM

Dutch,

Once you create your MDICHILD window, do this:

define GWL_STYLE -16

SetWindowLong( oWndChild:hWnd, GWL_STYLE, nXor( GetWindowLong( oWndChild:hWnd, GWL_STYLE ), WS_SYSMENU ) )

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion