디자이너 비활성 핫키 업뎃후 미작동
페이지 정보
본문
using System.Runtime.InteropServices;
[DllImport("user32.dll")]
private static extern int RegisterHotKey(int hWnd, int id, int fsModifiers, int vk);
[DllImport("user32.dll")]
private static extern int UnRegisterHotKey(int hWnd, int id);
protected override void WndProc(ref Message m)
{
if (m.Msg == (int)0x312)
{
if(m.WParam == (IntPtr)0x1)
{
}
}
base.WndProc(ref m);
}
private void Form1_Load(object sender, EventArgs e)
{
RegisterHotKey((int)this.Handle, 1, 0x1, (int)Keys.);
}
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
UnRegisterHotKey((int)this.Handle, 1);
}
딜 임포트해서 사용중이었는데 패치하고 먹질 않습니당..
- 이전글디자이너로 만든 플레이어 스크립트 실행 정지 속도 ex) 플레이어 옵션에 실행 정지 입력속도 20.06.27
- 다음글메모리읽기 질문있습니다 20.06.26