This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Setup Window class improvements.


Here it is:

2002-11-25  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

	* window.h (Window::GetWindowRect): New method declaration.
	(Window::GetClientRect): Ditto.
	(Window::MoveWindow): Ditto.
	(Window::ScreenToClient): Ditto.
	* window.cc (REFLECTION_INFO): Remove.
	(ReflectionInfo): Remove.
	(Window::FirstWindowProcReflector): Use the WM_NCCREATE message instead
	of the horrid REFLECTION_INFO hack to hook the Window instance to the
	HWND instance.
	(Window::WindowProcReflector): Use GetWindowLongPtr() now that it's
	available.
	(Window::Create): Change to use new WM_NCCREATE reflection procedure
	above.
	(Window::GetWindowRect): New method.
	(Window::GetClientRect): New method.
	(Window::MoveWindow): New method.
	(Window::CenterWindow): Use new methods, also specify "::" for some non-
	member functions with the same names.
	(Window::ScreenToClient): New method.

-- 
Gary R. Van Sickle
Brewer.  Patriot. 

Attachment: window.diff
Description: Binary data

Attachment: ChangeLog
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]