This is a sample for disable "X"
#include "FWCE.ch"
#DEFINE TRUE .T.
#DEFINE FALSE .F.
#define SHFS_SHOWTASKBAR 1 // 0x0001
#define SHFS_HIDETASKBAR 2 // 0x0002 //2
#define SHFS_SHOWSIPBUTTON 4 // 0x0004
#define SHFS_HIDESIPBUTTON 8 // 0x0008 //8
#define SHFS_SHOWSTARTICON 16 // 0x0010
#define SHFS_HIDESTARTICON 20 // 0x0020 //32
//----------------------------------------------------------------------------//
function Main()
Local oSay ,oBmp ,oWnd
DEFINE WINDOW oWnd //TITLE "Risto 2000"
@ 14.6,28.5 BUTTON oBmp PROMPT "EXIT" ;
ACTION oWnd:End() SIZE 60, 20
@ 0, 0 BTNBMP FILE CurDir() + "\RistoCe.bmp" SIZE 240,320
ShFullScreen(oWnd:hwnd,SHFS_HIDESTARTICON )
ShFullScreen(oWnd:hwnd,SHFS_HIDETASKBAR )
ShFullScreen(oWnd:hwnd,SHFS_HIDESIPBUTTON )
ACTIVATE WINDOW oWnd ON INIT MoveWindow(oWnd:hWnd,0,0,240,320)
return .T.