摘要:
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 阅读全文
2009年11月16日 #