VC++ 6 mouseover tooltip addin
-
Hello, I'm struggling with the following problem; at my job here, we use a database of texts for easy translation in our apps. Inside the source, we put IDs, which look like this: CString tmp = pLang->String(1005); for instance. Now, this is impossible to read and inconvenient when editing someone else's source. My idea was to create something that would show a tooltip with the actual text when moving the cursor over the ID. I tried to build a hook working with EM_CHARFROMPOS, EM_LINELENGTH and EM_GETLINE, to then feed it to a regexp and filter out the IDs. Problem is, the VC++ 6 source editbox reacts to none of these messages. I tried WM_GETTEXT, also no go. My next try will be to create an actual VC++ 6 addin, but I have NO idea where to start. And before I spend another few hours for nothing, I would first like to know if it's even POSSIBLE to create an addin that would generate a tooltip on mouseover. If anyone has an idea, I'd be glad to hear it. Thanks, - Fahr