Even SetFocus will send WM_KILLFOCUS, WM_SETFOCUS to the affected windows.
DestroyWindow can only be called by creator thread, by specification. An
by different thread.
"Joseph M. Newcomer" <newcomer@flounder.com> wrote in message
THis is a common misperception. SetWindowText is a message. Like most
methods, it really
does a SendMessage underneath, so in fact it is implemented by doing a
SendMessage(WM_SETTEXT, ...) call. There are very, very, very, very few
things you can do
to a window without sending a message to them. The exceptions are that
the API calls
SetFocus, DestroyWindow, and, uh, well, I'm drawing a blank here, don't do
SendMessage
calls, and everything else does.
SetWindowText even says, in its document, that it sends a WM_SETTEXT
message!
joe
On Tue, 17 Jul 2007 16:32:00 -0700, Mark Salsbery
<MarkSalsbery@discussions.microsoft.com>
wrote:
"daicamad" wrote:
Only when I called a SetWindowText (and that is a SendMessage)
What do you mean by that? SetWindowText is a function, not a message.
Mark
Joseph M. Newcomer [MVP]
email: newcomer@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm