Difference between revisions of "Mac OS X Implementing HIView"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Events)
(Events)
Line 25: Line 25:
 
*for controls themselves ( Class kEventClassControl ) :
 
*for controls themselves ( Class kEventClassControl ) :
  
kEventControlDraw  
+
<pre>kEventControlDraw  
  
 
kEventControlInitialize
 
kEventControlInitialize
Line 34: Line 34:
  
 
kEventControlBoundsChanged
 
kEventControlBoundsChanged
 
+
</pre>
 
Current implementation : see vcl/aqua/aquavclevents.hxx for more informations about the syntax.
 
Current implementation : see vcl/aqua/aquavclevents.hxx for more informations about the syntax.
  

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