Disable system menu on dialog from source

Disable system menu on dialog from source

Postby Jeff Barnes » Thu Mar 16, 2006 4:01 pm

Hi Everybody,

I know I'm overlooking something easy but I just can't disable the system menu in a dialog from source code.

Can someone please point me in the right direction.

Thanks,
Jeff
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: Disable system menu on dialog from source

Postby Enrico Maria Giordano » Thu Mar 16, 2006 5:05 pm

Can I see a little sample of what you tried so far?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby James Bott » Thu Mar 16, 2006 5:14 pm

Jeff,

Try:

DEFINE DIALOG oDlg...STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION)

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Jeff Barnes » Thu Mar 16, 2006 5:35 pm

Thanks James,

I was trying with STYLE nOR( WS_SYSMENU) with no luck.

Your solution works perfectly.

Jeff
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 74 guests