wince编程常用控制窗体API
来源:互联网 发布:自称老夫 知乎 编辑:程序博客网 时间:2024/05/21 14:01
[DllImport("coredll.Dll")]
public static extern IntPtr FindWindow(string strclassName, stringstrWindowName);
[DllImport("coredll.Dll")]
public static extern int SetWindowPos(IntPtr hwnd, int hWndInsertAfter, intx, int y, int cx, int cy, int wFlags);
[DllImport("coredll.Dll")]
public static extern bool ShowWindow(IntPtr hWnd, Int32 nCmdShow);
public const int WM_CLOSE = 0x10;
[DllImport("coredll.Dll")]
public static extern int SendMessage(IntPtr hwnd, int wMsg, int wParam, intlParam);
[DllImport("coredll.Dll", EntryPoint ="CreateProcess", SetLastError = true)]
extern static int CreateProcess(stringstrImageName, string strCmdLine, IntPtr pProcessAttributes, IntPtrpThreadAttributes, int bInheritsHandle, int dwCreationFlags, IntPtrpEnvironment, IntPtr pCurrentDir, IntPtr bArray, ProcessInfooProc);
public class ProcessInfo
{
publicInt32 hProcess;
public Int32 hThread;
public Int32 ProcessID;
publicInt32 ThreadID;
}
[DllImport("coredll.Dll")]
public static extern boolMoveWindow(IntPtr hWnd, int x, int y,int nWidth, int nHeight, bool bRePaint);
- wince编程常用控制窗体API
- wince编程常用控制窗体API
- wince编程常用控制窗体API
- wince编程常用控制窗体API
- wince编程常用控制窗体API
- wince下窗体控制
- MDI编程常用窗体控制语句
- C#API控制窗体
- wince 常用 控制
- WinCE C# 常用API
- WinCE 6.0驱动编程中常用的API
- WinCE蓝牙控制API函数
- WinCE蓝牙控制API函数 .
- WinCE串口编程API函数
- WinCE串口编程API函数
- WinCE串口编程API函数
- 通过api获取句柄控制其他窗体
- c# 使用api函数 ShowWindowAsync 控制窗体
- HTML5----响应式(自适应)网页设计
- Nodejs学习item 2 -- events事件处理EventEmitter
- android:exported 属性详解
- linux下c++编程环境搭建,运行过程以及调试
- c#调用系统DLL
- wince编程常用控制窗体API
- windows编程常用消息汇总
- 常用键盘键值
- JSP开发环境的建立
- java数据库编程
- POM详解
- JSP--第一个练习
- 学习摘抄
- 无聊之无欲篇