Listing 3: Pseudo-MsgLoop der Docky-Komponente. BOOL _docky_DockySet(struct DockyIFace *Self, uint32 msgType, uint32 msgData) { switch(msgType) { case DOCKYSET_RedrawNow: /* Inhalt neu zeichnen */ } }