Skip to content

MTY_AppSetWMsgFunc

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Set a custom window message handler for the app.

void MTY_AppSetWMsgFunc(
    MTY_App *    ctx,
    MTY_WMsgFunc func
);

Parameters

ctx (MTY_App *)

The MTY_App.

func (MTY_WMsgFunc)

Function called internally for each window message. Setting this to NULL will remove any existing handler.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: App

Clone this wiki locally