| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Filtering
- wpf
- stream
- digitalRead
- subpixel
- memory
- file access
- Read
- Android
- aduino
- Binary
- Pointer
- SERIAL
- Class
- edge
- parameter
- Unity
- public
- c++
- APP
- mfc
- compare
- UNO
- Contour
- Gradient
- flutter
- atmega328
- Gaussian
- sensor
- Encapusulation
Archives
- Today
- Total
목록FindProcess (1)
폴크(FOLC)
# 윈도우에서 현재 실행되고 있는 프로그램을 찾아보고 핸들을 이용해서 상태를 변경할 수 있다. > FindWindow : 윈도우 핸들을 찾는다. > ShowWindowAsync : 윈도우를 활성화 시킨다. > SetForegroundWindow : 윈도우를 최상위로 이동 시킨다. # 소스 코드 using System; using System.Runtime.InteropServices; class FindProcess { [DllImport("user32.dll")] public static extern IntPtr FindWindow(string lpClassName, string lpWindowName); [DllImport("user32.dll")] private static extern bool S..
C#, WF, WPF(.NET)/C#, WF, WPF(.NET) 테크닉
2021. 12. 29. 22:17