Wiki Page Content

Differences between revisions 6 and 7
Revision 6 as of 2010-09-29 23:48:48
Size: 1521
Editor: SheenaSmith
Comment: minor change
Revision 7 as of 2010-09-30 04:58:11
Size: 1152
Editor: SheenaSmith
Comment: update content (w/ Sam); remove 'draft' note
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 11: Line 10:
||||||''All Subsystems''||
Line 13: Line 13:
||union||'''msg'''||the type of message ''-or'' ^the message to display^||

<<Color2(green,Below is old content temporarily here for reference only.)>>
||||||''For Windows''||
||SDL_version||'''version'''||an [[SDL_version]] structure that contains the current SDL version||
||HWND||'''hwnd'''||the window for the message||
||UINT||'''msg'''||the type of message||
||WPARAM||'''wParam'''||WORD message parameter||
||LPARAM||'''lParam'''||LONG message parameter||
||||||''For X11 window management systems (Unix)''||
||SDL_version||'''version'''||an [[SDL_version]] structure that contains the current SDL version||
||SDL_SYSWM_TYPE||'''subsystem'''||the windowing system type; see [[#Remarks|Remarks]] for details||
||XEvent||'''event.xevent'''||the native x11 event structure||
||||||''SDL_SYSWM_WINDOWS''||
||HWND||'''win.hwnd'''||the window for the message||
||UINT||'''win.msg'''||the type of message||
||WPARAM||'''win.wParam'''||WORD message parameter||
||LPARAM||'''win.lParam'''||LONG message parameter||
||||||''SDL_SYSWM_X11''||
||XEvent||'''x11.event'''||the native x11 event structure||
||||||''SDL_SYSWM_DIRECTFB''||
||DFBEvent||'''dfb.event'''||the DirectFB event||
Line 34: Line 30:
[[SDL_SYSWM_TYPE]] may be one of the following: '''subsystem''' may be one of the following:
Line 37: Line 33:
There are currently no Cocoa window events.

SDL_SysWMmsg

A structure that contains system-dependent window manager messages.

Data Fields

All Subsystems

SDL_version

version

an SDL_version structure that contains the current SDL version

SDL_SYSWM_TYPE

subsystem

the windowing system type; see Remarks for details

SDL_SYSWM_WINDOWS

HWND

win.hwnd

the window for the message

UINT

win.msg

the type of message

WPARAM

win.wParam

WORD message parameter

LPARAM

win.lParam

LONG message parameter

SDL_SYSWM_X11

XEvent

x11.event

the native x11 event structure

SDL_SYSWM_DIRECTFB

DFBEvent

dfb.event

the DirectFB event

Code Examples

You can add your code example here

Remarks

subsystem may be one of the following:

SDL_SYSWM_UNKNOWN

SDL_SYSWM_WINDOWS

Microsoft Windows

SDL_SYSWM_X11

X Window System

SDL_SYSWM_DIRECTFB

DirectFB

SDL_SYSWM_COCOA

Apple Mac OS X

SDL_SYSWM_UIKIT

Apple iOS

SDL_SYSWM_WAYLAND

Wayland (>= SDL 2.0.2)

SDL_SYSWM_MIR

Mir (>= SDL 2.0.2)

SDL_SYSWM_WINRT

WinRT (>= SDL 2.0.3)

SDL_SYSWM_ANDROID

Android (>= SDL 2.0.4)

SDL_SYSWM_VIVANTE

Vivante (>= SDL 2.0.5)

There are currently no Cocoa window events.


CategoryStruct, CategorySWM

None: SDL_SysWMmsg (last edited 2016-10-08 22:57:24 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit