Difference between revisions of "Mac OS X Implementing HIView"

From Apache OpenOffice Wiki
Jump to: navigation, search
(introduction)
(Events)
Line 17: Line 17:
 
*for objects (ClasskEventClassHIObject )  :
 
*for objects (ClasskEventClassHIObject )  :
  
kEventHIObjectConstruct
+
<pre>kEventHIObjectConstruct
  
 
kEventHIObjectInitialize
 
kEventHIObjectInitialize
  
kEventHIObjectDestruct
+
kEventHIObjectDestruct</pre>
  
 
*for controls themselves ( Class kEventClassControl ) :
 
*for controls themselves ( Class kEventClassControl ) :

Revision as of 15:59, 12 March 2007

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