From: caro Date: Mon, 19 Jan 2009 18:54:24 +0000 (+0000) Subject: * ecore_wince: force taskbar to be shown when ecore_wince shuts X-Git-Tag: 2.0_alpha~194^2~1660 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=972260aedfcbc0776d92b1299a8933bede6d2ea9;p=framework%2Fuifw%2Fecore.git * ecore_wince: force taskbar to be shown when ecore_wince shuts down (in case the application is fullscreen when exiting) Reported by Lars Munch git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@38649 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_wince/ecore_wince.c b/src/lib/ecore_wince/ecore_wince.c index fe689bf..bb84171 100644 --- a/src/lib/ecore_wince/ecore_wince.c +++ b/src/lib/ecore_wince/ecore_wince.c @@ -115,10 +115,21 @@ ecore_wince_init() int ecore_wince_shutdown() { + HWND task_bar; + _ecore_wince_init_count--; if (_ecore_wince_init_count > 0) return _ecore_wince_init_count; if (!_ecore_wince_instance) return _ecore_wince_init_count; + /* force task bar to be shown (in case the application exits */ + /* while being fullscreen) */ + task_bar = FindWindow(L"HHTaskBar", NULL); + if (task_bar) + { + ShowWindow(task_bar, SW_SHOW); + EnableWindow(task_bar, TRUE); + } + UnregisterClass(ECORE_WINCE_WINDOW_CLASS, _ecore_wince_instance); FreeLibrary(_ecore_wince_instance); _ecore_wince_instance = NULL;