|
|
发表于 2004-10-24 22:00:00
|
显示全部楼层
Re: Re:小女子求助~~~~~~~响应窗口消息
seer: Re:小女子求助~~~~~~~响应窗口消息
唔,是这个意思——
SetCapture对于鼠标在该线程创建的窗口内很有用,在其他线程的窗口内只发送VK_L/RBUTTONDOWN
不知道对不对
jeffery一本书中是这样说的:
Having threads independently handle input—preventing one thread
from adversely affecting another thread—is just part of what makes
the input model robust. However, this feature alone is not enough to
keep threads isolated from one another, so the system has additional
infrastructure. This additional infrastructure is called local input state.
Each thread has its own local input state, which is managed inside a
thread's THREADINFO structure (discussed in Chapter 26). This input
state consists of the thread's virtualized input queue as well as a set
of variables. These variables keep track of the following input state
management information [em19] [em19] |
|