经典原味

博客园 首页 新随笔 联系 订阅 管理

2009年11月16日 #

摘要: IntPtr mwh = (IntPtr)Convert.ToInt32(handle); //ComboBox的句柄int result = SendMessage(mwh, 0x014D, -1, selectStr);//改变ComboBox的值,selectStr为预期的下拉框选项int mwh_p = GetWindowLong(mwh, -8); //获取ComboBox所属窗口的句柄IntPtr mwh2 = (IntPtr)Convert.ToInt32(mwh_p); //转换ComboBox所属窗口的句柄string cbn_selchange;int cb_id = Ge 阅读全文
posted @ 2009-11-16 17:09 经典原味 阅读(4149) 评论(0) 推荐(0) 编辑