The SendMessage uses the messaging function of windows. NT has a messanger service (defaulted to start automatically), while the only messaging client for win9x is winpopup. This must be running on 9x to get messages, otherwise the system ignores the message. You could have your logon script start, and minimise it.
hope this helps,
SteveH