Mac OS X Implementing HIView

From Apache OpenOffice Wiki
Jump to: navigation, search

Contributors

Eric Bachard[ericb]

Sébastien Plisson [plipli]

introduction

This page is part of [Native Controls Implementation] and the objective is to use HIView for HIComboboxes or other HI* controls.


Current code implementation

Events

Two sorts of events are needed:

  • for objects (ClasskEventClassHIObject ) :

kEventHIObjectConstruct

kEventHIObjectInitialize

kEventHIObjectDestruct

  • for controls themselves ( Class kEventClassControl ) :

kEventControlDraw

kEventControlInitialize

kEventControlHitTest

kEventControlGetPartRegion

kEventControlBoundsChanged

Current implementation : see vcl/aqua/aquavclevents.hxx for more informations about the syntax.

Handlers

[FIXME]

Controls

[FIXME]

Usefull Links

Reference

HIVIew : [reference]

or : [same in .pdf format]

Code sample

Personal tools