using UnityEngine; using System.Collections; using UnityEngine.EventSystems; //using UnityEngine.SceneManagement; using System; using UnityEngine.UI; using System.Runtime.InteropServices; public class DrawWindow : MonoBehaviour { //private GameOb
protected override void WndProc(ref Message m) { if (m.Msg==0x112) { switch ((int) m.WParam) { //禁止双击标题栏关闭窗体 case 0xF063: case 0xF093: m.WParam = IntPtr.Zero; break; //禁止拖拽标题栏还原窗体 case 0xF012: case 0xF010: m.WParam = IntPtr.Zero; break; //禁止双击标题栏 cas