the GetDesktopWindow() give me the desktop HWND, but how can i get the desktop toolbar HWND?
i belive that theres 1 function for get the toolbar on windows, but i don't know how :(

finally i found it:

HWND GetDesktopToolBar()
{
    return FindWindow("Shell_Traywnd", "");
}

i have 1 question: how can i add a toolbar(like the old windows media player mini-toolbar) or buttons on it?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.