http://bugs.winehq.org/show_bug.cgi?id=13591
--- Comment #2 from Vladimir vladimiroski@gmail.com 2008-06-01 10:51:24 --- I think this is the code to show the window: http://emuleplus.cvs.sourceforge.net/emuleplus/src/TaskbarNotifier.cpp?view=...
Specially the function: 'void CTaskbarNotifier::Show(LPCTSTR szCaption,int nMsgType,DWORD dwTimeToShow,DWORD dwTimeToStay,DWORD dwTimeToHide)'
HWND hWndTaskbar = ::FindWindow(_T("Shell_TrayWnd"), 0); 278 279 ::GetWindowRect(hWndTaskbar, &rcTaskbar); 280 281 // Daniel Lohmann: Calculate taskbar position from its window rect. However, on XP 282 // it may be that the taskbar is slightly larger or smaller than the screen size. 283 // Therefore we allow some tolerance here. 284 285 if (NearlyEqual(rcTaskbar.left, 0, TASKBAR_X_TOLERANCE) && NearlyEqual(rcTaskbar.right, nScreenWidth, TASKBAR_X_TOLERANCE )) 286 { 287 // Taskbar is on top or on bottom 288 m_nTaskbarPlacement = NearlyEqual(rcTaskbar.top, 0, TASKBAR_Y_TOLERANCE ) ? ABE_TOP : ABE_BOTTOM; 289 nBitmapSize = m_nBitmapHeight; 290 } 291 else 292 { 293 // Taskbar is on left or on right 294 m_nTaskbarPlacement = NearlyEqual(rcTaskbar.left, 0, TASKBAR_X_TOLERANCE ) ? ABE_LEFT : ABE_RIGHT; 295 nBitmapSize = m_nBitmapWidth; 296 }