Relative Content

Tag Archive for vbawinapi

Issue Creating a Tooltip in VBA

I’m trying to create a tooltip in VBA using winapi calls, basically following the tutorial from MSDN remapped to VBA with Declare statements etc. The call to CreateWindowsEx() returns NULL and the follow-on GetLastError() returns 0 as well. I’ve tried both in Excel and Outlook, but it gives the same result. Is this simply not possible, or is there anything wrong with the parameters I pass to CreateWindowsEx()?