diff options
Diffstat (limited to 'CPP/Windows/Control/Window2.h')
-rw-r--r--[-rwxr-xr-x] | CPP/Windows/Control/Window2.h | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/CPP/Windows/Control/Window2.h b/CPP/Windows/Control/Window2.h index 2af031b8..d744b3e6 100755..100644 --- a/CPP/Windows/Control/Window2.h +++ b/CPP/Windows/Control/Window2.h @@ -3,7 +3,7 @@ #ifndef __WINDOWS_CONTROL_WINDOW2_H #define __WINDOWS_CONTROL_WINDOW2_H -#include "Windows/Window.h" +#include "../Window.h" namespace NWindows { namespace NControl { @@ -15,19 +15,14 @@ public: CWindow2(HWND newWindow = NULL): CWindow(newWindow){}; virtual ~CWindow2() {}; - - bool CreateEx(DWORD exStyle, LPCTSTR className, - LPCTSTR windowName, DWORD style, - int x, int y, int width, int height, - HWND parentWindow, HMENU idOrHMenu, - HINSTANCE instance); + bool CreateEx(DWORD exStyle, LPCTSTR className, LPCTSTR windowName, + DWORD style, int x, int y, int width, int height, + HWND parentWindow, HMENU idOrHMenu, HINSTANCE instance); #ifndef _UNICODE - bool CreateEx(DWORD exStyle, LPCWSTR className, - LPCWSTR windowName, DWORD style, - int x, int y, int width, int height, - HWND parentWindow, HMENU idOrHMenu, - HINSTANCE instance); + bool CreateEx(DWORD exStyle, LPCWSTR className, LPCWSTR windowName, + DWORD style, int x, int y, int width, int height, + HWND parentWindow, HMENU idOrHMenu, HINSTANCE instance); #endif virtual LRESULT OnMessage(UINT message, WPARAM wParam, LPARAM lParam); @@ -47,10 +42,8 @@ public: virtual void OnCancel() {}; */ - LONG_PTR SetMsgResult(LONG_PTR newLongPtr ) - { return SetLongPtr(DWLP_MSGRESULT, newLongPtr); } - LONG_PTR GetMsgResult() const - { return GetLongPtr(DWLP_MSGRESULT); } + LONG_PTR SetMsgResult(LONG_PTR newLongPtr) { return SetLongPtr(DWLP_MSGRESULT, newLongPtr); } + LONG_PTR GetMsgResult() const { return GetLongPtr(DWLP_MSGRESULT); } }; }} |