mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 21:23:00 +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_SETPARTS, 2, (LPARAM)parts);
|
||||||
SendMessage(hwndStatus, SB_SETTEXT, 0 | SBT_NOBORDERS, (LPARAM)"");
|
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();
|
CreateSol();
|
||||||
|
|
||||||
|
|
|
@ -332,7 +332,7 @@ LRESULT CALLBACK WndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
case WM_CREATE:
|
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;
|
dwDifficulty = IDC_DIF_ONECOLOR;
|
||||||
CreateSpider();
|
CreateSpider();
|
||||||
|
|
||||||
|
|
|
@ -112,10 +112,10 @@ BOOL CardWindow::Create(HWND hwndParent, DWORD dwExStyle, DWORD dwStyle, int x,
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
//Create the window associated with this object
|
//Create the window associated with this object
|
||||||
m_hWnd = CreateWindowEx(WS_EX_CLIENTEDGE, szCardName, 0,
|
m_hWnd = CreateWindowEx(dwExStyle, szCardName, NULL,
|
||||||
WS_CHILD | WS_VISIBLE,
|
dwStyle,
|
||||||
0,0,100,100,
|
x, y, width, height,
|
||||||
hwndParent, 0, GetModuleHandle(0), this);
|
hwndParent, NULL, GetModuleHandle(NULL), this);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue