I'm coding using C++/MFC with WinAPIs and I was curious if it's possible to know that my app was started from a click on a taskbar icon (that was pinned there)?
PS. I need to know this to display a pop-up menu above my program's icon on the taksbar, pretty much like it happens after a right-click.