mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[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 svn path=/trunk/; revision=71602
This commit is contained in:
parent
25c377e044
commit
998a832892
3 changed files with 6 additions and 6 deletions
|
@ -610,7 +610,7 @@ LRESULT CALLBACK WndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
|||
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();
|
||||
|
||||
|
|
|
@ -332,7 +332,7 @@ LRESULT CALLBACK WndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
|||
{
|
||||
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();
|
||||
|
||||
|
|
|
@ -112,10 +112,10 @@ BOOL CardWindow::Create(HWND hwndParent, DWORD dwExStyle, DWORD dwStyle, int x,
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue