Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TopWindow&PopUp, TrayIcon » Restoring TrayIcon control
Re: Restoring TrayIcon control [message #32133 is a reply to message #32099] Tue, 26 April 2011 16:25 Go to previous messageGo to previous message
lucpolak is currently offline  lucpolak
Messages: 18
Registered: April 2008
Location: France
Promising Member
Hello,

nobody can helps me Sad ?

I'm trying to understand the mecanism of UPP windows and it's not easy Razz.

I'm find in the Win32Wnd.cpp the main WndProc witch enables me to initialize correctly my WM_TASKBARCREATED variable. This piece of code works fine and catch correctly the explorer.exe crashes :

LRESULT CALLBACK Ctrl::WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
	if (message == WM_CREATE)
	{
		WM_TASKBARCREATED = RegisterWindowMessageA("TaskbarCreated") ;
		ELOG("Ctrl::TASKBARCREATED = "<<WM_TASKBARCREATED);
	}
	
	if (message == WM_TASKBARCREATED)
	{
		ELOG("Ctrl::TASKBARCREATED");
		// How can i translate and recreate order to the TrayIcon class ?
	}
[...]


But how can I recreate tray icon when the message WM_TASKBARCREATED is received ???? How can i Translate this message to the TrayIcon::WindowProc ????

HElps Helps helps .... Sad

Lucas
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to get top and left position of top window
Next Topic: [BUG?] X11 (at least OSX) Menus displayed under TopWindow, owner=RootWindow
Goto Forum:
  


Current Time: Thu Sep 18 07:09:27 CEST 2025

Total time taken to generate the page: 0.07364 seconds