WinCE 7 can't access system tray (iMX7 4GB)

Hello, I have a problem access the system tray icon under wince 7 in c++.
I have this code:

   HWND hTaskBarWnd = ::FindWindow(_T("HHTaskBar"), NULL);
   if(hTaskBarWnd)
   {
	   hTaskBarWnd = ::FindWindow(_T("Shell_TrayWnd"), NULL);
	   
		if(hTaskBarWnd)
		{
			::EnumChildWindows(hTaskBarWnd,Enumerator, NULL);
		}
	}

In the first “if” I recover the handle of “HHTaskBar” without problems.
in the second "if " with “Shell_TrayWnd”, I have always the result of NULL.
In addiction using Wince remote spy, I have see a classname called “HHTaskBarTray”.
I have try the second if with this classname but always the result of the handle is NULL.

Can you help me understand what is the correct classname to use?

Thank you
Regards

Hi, I’m the Toradex AI Assistant. I’m in early beta, and I would appreciate your feedback.
The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hi,

This is out of my scope, sorry.

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

How to set up Qt Creator to cross compile for embedded Linux | Toradex Developer Center.