Lincoln Yeoh wrote: > Hi, > > Coincidentally I'm using the hotkey code from Tim's url and it works > quite well. > > But I'm not sure which is better: > > user32.GetMessageA or user32.GetMessageW (along with the corresponding > user32.DispatchMessageA or user32.DispatchMessageW of course).
That depends on the messages you're handling. For some messages, WPARAM and LPARAM point to structures that contain strings. For those, you need to know the character type. If there are no strings, then it doesn't matter which one you choose. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32