mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 01:11:00 +00:00
General cleanup of win32 code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26066 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f3dd6d33cf
commit
025ee25307
9 changed files with 570 additions and 889 deletions
|
@ -27,7 +27,10 @@
|
|||
Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include "w32_Events.h"
|
||||
#include <AppKit/NSEvent.h>
|
||||
#include <AppKit/NSWindow.h>
|
||||
#include "win32/WIN32Server.h"
|
||||
#include "win32/WIN32Geometry.h"
|
||||
|
||||
@implementation WIN32Server (w32_General)
|
||||
|
||||
|
@ -130,18 +133,5 @@
|
|||
- (void) decodeWM_COMMANDParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd
|
||||
{
|
||||
}
|
||||
|
||||
- (void) resetForGSWindowStyle:(HWND)hwnd w32Style:(DWORD)aStyle
|
||||
{
|
||||
// to be completed for styles
|
||||
LONG result;
|
||||
|
||||
ShowWindow(hwnd, SW_HIDE);
|
||||
SetLastError(0);
|
||||
result=SetWindowLong(hwnd, GWL_EXSTYLE, WS_EX_APPWINDOW);
|
||||
result=SetWindowLong(hwnd, GWL_STYLE, (LONG)aStyle);
|
||||
// should check error here...
|
||||
ShowWindow(hwnd, SW_SHOWNORMAL);
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue