DEFINE WINDOW MDI with NOSYSMENU?

DEFINE WINDOW MDI with NOSYSMENU?

Postby dutch » Tue Jul 02, 2013 9: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 19.01 / 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)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: DEFINE WINDOW MDI with NOSYSMENU?

Postby Antonio Linares » Tue Jul 02, 2013 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: karinha, nageswaragunupudi and 102 guests