UIHost::DockWindowSink struct

Opens, places, and closes the windows panels float in, and sets window ownership for keep-above.

Called during the main dock document's update (on a job), so every function must be callable from any thread. Sizes and positions are in window coordinates. Without a sink, panels can't leave the main window.

Public variables

void* Context
void(* Open
Open a window; call AttachDockWindow with tag once it has opened.
void(* Place
Move window's top left to x, y.
void(* Resize
Give window this size.
void(* Close
Close window: its last panel left it.
void(* SetOwner
Keep window above owner; 0: no owner.

Variable documentation

void* UIHost::DockWindowSink::Context

passed to each function