{\r
static HICON hSmIcon;\r
static HICON hBgIcon;\r
+ LPWSTR lpAboutText = NULL;\r
\r
switch(Message)\r
{\r
IDC_FONTCOMBO));\r
\r
ChangeMapFont(hDlg);\r
-\r
hSysMenu = GetSystemMenu(hDlg,\r
FALSE);\r
if (hSysMenu != NULL)\r
{\r
- LPCWSTR lpAboutText = NULL;\r
-\r
if (LoadStringW(hInstance,\r
IDS_ABOUT,\r
- (LPWSTR)&lpAboutText,\r
+ lpAboutText,\r
0))\r
{\r
AppendMenuW(hSysMenu,\r
CreateLargeCell(PMAP infoPtr)\r
{\r
RECT rLarge;\r
+ POINT p;\r
\r
CopyRect(&rLarge,\r
&infoPtr->pActiveCell->CellExt);\r
+ CopyMemory(&p, &rLarge, sizeof(POINT));\r
\r
MapWindowPoints(infoPtr->hMapWnd,\r
infoPtr->hParent,\r
- (LPPOINT)&rLarge,\r
+ &p,\r
2);\r
\r
InflateRect(&rLarge,\r
MoveLargeCell(PMAP infoPtr)\r
{\r
RECT rLarge;\r
+ POINT p;\r
\r
CopyRect(&rLarge,\r
&infoPtr->pActiveCell->CellExt);\r
+ CopyMemory(&p, &rLarge, sizeof(POINT));\r
\r
MapWindowPoints(infoPtr->hMapWnd,\r
infoPtr->hParent,\r
- (LPPOINT)&rLarge,\r
+ &p,\r
2);\r
\r
InflateRect(&rLarge,\r