FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Disable system menu on dialog from source
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Disable system menu on dialog from source
Posted: Thu Mar 16, 2006 04: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

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Disable system menu on dialog from source
Posted: Thu Mar 16, 2006 05:05 PM

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

EMG

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Disable system menu on dialog from source
Posted: Thu Mar 16, 2006 05:14 PM

Jeff,

Try:

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

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Disable system menu on dialog from source
Posted: Thu Mar 16, 2006 05:35 PM

Thanks James,

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

Your solution works perfectly.

Jeff

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)

Continue the discussion