Made the MoveWindowToMonitorCenter() function static because the Visual Studio strongly recommends it.
This commit is contained in:
@@ -67,7 +67,7 @@ LRESULT CALLBACK MouseHookProc(int, WPARAM, LPARAM);
|
|||||||
INT_PTR CALLBACK DlgProc(HWND, UINT, WPARAM, LPARAM);
|
INT_PTR CALLBACK DlgProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM);
|
INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM);
|
||||||
|
|
||||||
VOID MoveWindowToMonitorCenter(HWND hwnd, BOOL bWorkArea, BOOL bResize)
|
static VOID MoveWindowToMonitorCenter(HWND hwnd, BOOL bWorkArea, BOOL bResize)
|
||||||
{
|
{
|
||||||
logger.Out(L"Entering the %s() function", TEXT(__FUNCTION__));
|
logger.Out(L"Entering the %s() function", TEXT(__FUNCTION__));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user