mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
ifndef _ROS_
svn path=/trunk/; revision=7820
This commit is contained in:
parent
f4bafd97b4
commit
a7f8f318e3
1 changed files with 6 additions and 1 deletions
|
@ -119,10 +119,15 @@ NotifyArea::~NotifyArea()
|
|||
HWND NotifyArea::Create(HWND hwndParent)
|
||||
{
|
||||
ClientRect clnt(hwndParent);
|
||||
|
||||
#ifndef _ROS_
|
||||
return Window::Create(WINDOW_CREATOR(NotifyArea), WS_EX_STATICEDGE,
|
||||
BtnWindowClass(CLASSNAME_TRAYNOTIFY,CS_DBLCLKS), TITLE_TRAYNOTIFY, WS_CHILD|WS_VISIBLE,
|
||||
clnt.right-(NOTIFYAREA_WIDTH_DEF+1), 1, NOTIFYAREA_WIDTH_DEF, clnt.bottom-2, hwndParent);
|
||||
#else
|
||||
return Window::Create(WINDOW_CREATOR(NotifyArea), 0,
|
||||
BtnWindowClass(CLASSNAME_TRAYNOTIFY,CS_DBLCLKS), TITLE_TRAYNOTIFY, WS_CHILD|WS_VISIBLE,
|
||||
clnt.right-(NOTIFYAREA_WIDTH_DEF+1), 1, NOTIFYAREA_WIDTH_DEF, clnt.bottom-2, hwndParent);
|
||||
#endif
|
||||
}
|
||||
|
||||
LRESULT NotifyArea::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
|
||||
|
|
Loading…
Reference in a new issue