Latest post of the previous page:
Code: Select all
F=far.Flags
Event
group:"DialogEvent"
description:"remove Desktop"
action:(event,param)->
if event==F.DE_DLGPROCINIT and param.Msg==F.DN_INITDIALOG
id=far.SendDlgMessage param.hDlg,F.DM_GETDIALOGINFO
id=id and id.Id or ""
if id==win.Uuid"72eb948a-5f1d-4481-9a91-a4bfd869d127"
far.SendDlgMessage param.hDlg,F.DM_LISTDELETE,1,StartIndex:1,Count:1
with far.SendDlgMessage param.hDlg,F.DM_GETDLGRECT
far.SendDlgMessage param.hDlg,F.DM_RESIZEDIALOG,0,X:.Right-.Left+1,Y:.Bottom-.Top
item=far.SendDlgMessage param.hDlg,F.DM_GETDLGITEM,1
item[5]-=1
far.SendDlgMessage param.hDlg,F.DM_SETDLGITEM,1,item
false