quote:
Originally posted by Flash26
aaaaaah thx its the W i missed SendMessageW lol and thx for the value
The W stands for "Wide".
Many APIs come in two versions, and ascii version and a wide version. This is for when you send text (or rather a handle to a text string in memory), since text can either be pure ascii or unicode (=wide characters =characters which are build from more than 1 byte... eg: Japanees, Hebrew, etc)
For sending a close command or close message it doesn't matter what you use since those commands and/or messages are numeric. So you could also use: "SendMessageA".
Such info like this can easly be found in the
MSDN library