Search:

PmWiki

pmwiki.org

edit SideBar

Main / Winapps

Using the notification area (system tray):
http://www.dreamincode.net/forums/topic/211048-intro-to-the-windows-api-part-2-creating-a-menu/
https://msdn.microsoft.com/en-us/library/windows/desktop/ee330740.aspx#notification
https://msdn.microsoft.com/en-us/library/windows/desktop/bb762159.aspx
http://www.codeproject.com/Articles/4768/Basic-use-of-Shell-NotifyIcon-in-Win
https://msdn.microsoft.com/en-us/library/windows/desktop/bb773352.aspx

Libraries

On Windows, you always link against a .lib file, even if the library itself is in a DLL. What you normally have to do to use an external library, on any platform, is (Qt example):

    Add the library to the LIBS variable in your .pro file:
    @LIBS += -llibrary@
    Add the library path to the LIBS variables in your .pro file:
    @LIBS += -LC:/path/to/library@
    Add the include path to the INCLUDEPATH variable in your .pro file:
    @INCLUDEPATH += C:/path/to/includes@

Then, if the library is a DLL, you must make sure the DLL is found when you run the program. The DLL is what gets deployed with the executable.


Page last modified on November 11, 2016, at 07:21 PM