Theme Hit Test Values (Windows CE 5.0)

Windows CE 5.0
Send Feedback

The following table shows values to pass in the dwWord parameter of the HitTestThemeBackground function

OptionValueDescription
HTTB_BACKGROUNDSEG0x0000Theme background segment hit test option.

The following table shows the possible values received in the pwHitTestCode parameter of the HitTestThemeBackground function.

OptionReturn ValueDescription
HTTB_BACKGROUNDSEGHTBOTTOMHit test succeeded in the bottom border segment.
 HTBOTTOMLEFTHit test succeeded in the bottom and left border intersection.
 HTBOTTOMRIGHTHit test succeeded in the bottom and right border intersection.
 HTCLIENTHit test succeeded in the middle background segment.
 HTLEFTHit test succeeded in the left border segment.
 HTNOWHEREHit test succeeded outside the control or on a transparent area.
 HTRIGHT Hit test succeeded in the right border segment.
 HTTOP Hit test succeeded in the top border segment.
 HTTOPLEFTHit test succeeded in top and left border intersection.
 HTTOPRIGHTHit test succeeded in the top and right border intersection.

See Also

Theme Support Reference


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: