D
DBxGlock
Howdy folks,
I have a library that is included by other applications. The library
provides a pop-up form. I'd like the pop-up form to be able to use the
same icon as the application that's calling it. Because I don't have
control of all the applications that will use this library, I can't
assume that the developers of the applications will be kind enough to
embed an icon as a resource for me.
So...At runtime, with no information about the application that is
calling the library, how can the library retrieve the application's
icon? This has to be possible because Windows knows about the icon (it
appears on the task bar, and with alt-tab). Does anybody know how to
retrieve this icon?
Thanks a bunch,
Dan
I have a library that is included by other applications. The library
provides a pop-up form. I'd like the pop-up form to be able to use the
same icon as the application that's calling it. Because I don't have
control of all the applications that will use this library, I can't
assume that the developers of the applications will be kind enough to
embed an icon as a resource for me.
So...At runtime, with no information about the application that is
calling the library, how can the library retrieve the application's
icon? This has to be possible because Windows knows about the icon (it
appears on the task bar, and with alt-tab). Does anybody know how to
retrieve this icon?
Thanks a bunch,
Dan