Author: hbelusca
Date: Thu Jun 9 20:33:36 2016
New Revision: 71602
URL:
http://svn.reactos.org/svn/reactos?rev=71602&view=rev
Log:
[SOLITAIRE][SPIDER][CARDLIB]
- Remove the ugly WS_EX_CLIENTEDGE style from Solitaire and Spider.
- Make use of the member function parameters when calling CreateWindowEx in cardlib.
Patch by "toe_head2001".
CORE-11391
Modified:
trunk/reactos/base/applications/games/solitaire/solitaire.cpp
trunk/reactos/base/applications/games/spider/spider.cpp
trunk/reactos/sdk/lib/3rdparty/cardlib/cardwindow.cpp
Modified: trunk/reactos/base/applications/games/solitaire/solitaire.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/so…
==============================================================================
--- trunk/reactos/base/applications/games/solitaire/solitaire.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/solitaire/solitaire.cpp [iso-8859-1] Thu Jun 9
20:33:36 2016
@@ -610,7 +610,7 @@
SendMessage(hwndStatus, SB_SETPARTS, 2, (LPARAM)parts);
SendMessage(hwndStatus, SB_SETTEXT, 0 | SBT_NOBORDERS,
(LPARAM)"");
- SolWnd.Create(hwnd, WS_EX_CLIENTEDGE, WS_CHILD|WS_VISIBLE, 0, 0, 0, 0);
+ SolWnd.Create(hwnd, 0, WS_CHILD | WS_VISIBLE, 0, 0, 100, 100);
CreateSol();
Modified: trunk/reactos/base/applications/games/spider/spider.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/sp…
==============================================================================
--- trunk/reactos/base/applications/games/spider/spider.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/spider/spider.cpp [iso-8859-1] Thu Jun 9
20:33:36 2016
@@ -332,7 +332,7 @@
{
case WM_CREATE:
{
- SpiderWnd.Create(hwnd, WS_EX_CLIENTEDGE, WS_CHILD|WS_VISIBLE, 0, 0, 0, 0);
+ SpiderWnd.Create(hwnd, 0, WS_CHILD | WS_VISIBLE, 0, 0, 100, 100);
dwDifficulty = IDC_DIF_ONECOLOR;
CreateSpider();
Modified: trunk/reactos/sdk/lib/3rdparty/cardlib/cardwindow.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/3rdparty/cardlib/c…
==============================================================================
--- trunk/reactos/sdk/lib/3rdparty/cardlib/cardwindow.cpp [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/3rdparty/cardlib/cardwindow.cpp [iso-8859-1] Thu Jun 9 20:33:36
2016
@@ -112,10 +112,10 @@
return FALSE;
//Create the window associated with this object
- m_hWnd = CreateWindowEx(WS_EX_CLIENTEDGE, szCardName, 0,
- WS_CHILD | WS_VISIBLE,
- 0,0,100,100,
- hwndParent, 0, GetModuleHandle(0), this);
+ m_hWnd = CreateWindowEx(dwExStyle, szCardName, NULL,
+ dwStyle,
+ x, y, width, height,
+ hwndParent, NULL, GetModuleHandle(NULL), this);
return TRUE;
}