728x90
반응형
728x170
using System;
using System.Runtime.InteropServices;
#region 윈도우 표시하기 - ShowWindow(windowHandle, command)
/// <summary>
/// 윈도우 표시하기
/// </summary>
/// <param name="windowHandle">윈도우 핸들</param>
/// <param name="command">명령</param>
/// <returns>처리 결과</returns>
[DllImport("user32", SetLastError = true)]
private static extern bool ShowWindow(IntPtr windowHandle, int command);
#endregion
728x90
반응형
그리드형(광고전용)
'C# > WIN32' 카테고리의 다른 글
[C#/WIN32] GetWindowText API 함수 선언하기 (0) | 2021.04.03 |
---|---|
[C#/WIN32] GetWindowTextLength API 함수 선언하기 (0) | 2021.04.03 |
[C#/WIN32] EnumWindows API 함수 선언하기 (0) | 2021.04.03 |
[C#/WIN32] GetShellWindow API 함수 선언하기 (0) | 2021.04.03 |
[C#/WIN32] ShowWindowAsync API 함수 선언하기 (0) | 2021.04.02 |
[C#/WIN32] ShowWindow API 함수 선언하기 (0) | 2021.04.02 |
[C#/WIN32] IsIconic API 함수 선언하기 (0) | 2021.04.02 |
[C#/WIN32] IsImmersiveProcess API 함수 선언하기 (0) | 2021.04.02 |
[C#/WIN32] GetDesktopWindow API 함수 선언하기 (0) | 2021.04.02 |
[C#/WIN32] GetWindowThreadProcessId API 함수 선언하기 (0) | 2021.04.02 |
[C#/WIN32] IsWindowVisible API 함수 선언하기 (0) | 2021.04.02 |
댓글을 달아 주세요