Need Help With Callback Functions [noob]
-
Hello everyone. I'm very new to C++. I typically stay in .NET, but I can't do this in VB. I'm writing an Explorer replacement shell and am working on capturing the system tray icon messages. I've been able to successfully create a window and can see the icon information via WM_COPYDATA messages in WndProc. I initially tried to forward those messages on to my VB.NET app using SendMessage. That didn't work so well. Everything I got was garbage. That has me thinking of creating a C++ Win32 DLL to create window and watch the messages. Then, using a callback function, alert the host application (my VB app) of the new data. One problem: I don't have the foggiest idea how to write callback functions! I'm new new new to C++. I'm having enough trouble wrapping my head around having more than one type of String! Please if someone can help, I'd really appreciate it! I need to be able to send the host application a NOTIFYICONDATA struct. Thanks, Ray Phillips LCARS x32 - A Star Trek Shell