Rupert

::Me(C#,VC,MonoTouch,MonoforAndroid);

导航

上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 107 下一页

2013年1月7日

摘要: 调用函数FindWindow(窗口类名,窗口标题)获得窗口的句柄,然后调用EnumChildWindows(父窗口,回调函数名,参数)来获得父窗口下的子窗口的句柄,代码实现如下[喝小酒的网摘]http://blog.const.net.cn/a/6404.htm#include<windows.h>BOOLCALLBACKEnumChildProc(HWNDhWnd,LPARAMlParam);intWINAPIWinMain(HINSTANCEhInstance,HINSTANCEhPrevInstance,LPSTRlpCmdLine,intnCmdShow){charclas 阅读全文

posted @ 2013-01-07 15:49 ArRan 阅读(4480) 评论(0) 推荐(1)

2013年1月3日

摘要: (六)调用示例: void CDemoDlg::OnButton1() { int a=45; double b=67.45; double c=847.424;short d=324; RECT rect; ::GetWindowRect(m_hWnd,&rect); HWND hWnd=::GetForegroundWindow(); POINT point; GetCursorPos(&point); bool ak=true; CPoint cpoint(88,421); CRect crect(19,423,56,522); CString mfcstr=_T(&qu 阅读全文

posted @ 2013-01-03 11:18 ArRan 阅读(741) 评论(0) 推荐(0)

2012年12月28日

摘要: C#基础解析之Ⅲ 【循环结构】今天继续和大家探讨C#,今天我们来聊一聊C#中的循环结构。对于循环结构我想在所有语言中都会看到的!因为循环结构是一个又省时又省力的一个好方法!所以大家用的也比较普遍,接下来我们就一起进入循环结构。在我们登陆QQ时,如果你的密码输入不正确就会一直提示你账号或者密码不正确,这个功能就是使用了循环结构,好的!我们还是来看个控制台程序的例子,我觉得例子是最容易说明问题的方法。 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 Console... 阅读全文

posted @ 2012-12-28 17:14 ArRan 阅读(312) 评论(0) 推荐(0)

上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 107 下一页