API Guide Home
(Online version only)

HsExtUtilBigButtonCommon.h File Reference


Detailed Description

<Common code for Big Buttons that can be used by ARM and 68K code.>

<This file contains all defines and enums that are used by Big Buttons. There are some structs here too that might need to be moved to 68K/ARM specific code. Moved code from HsExtUtilBigButton.h >

Copyright (c) 2002 Handspring Inc., All Rights Reserved

Author:
Arun Mathias
Id
//depot/Components/Extensions/HsExtensions/1.0E/Incs/IncsPublic/Common/HsExtUtilBigButtonCommon.h#2

Definition in file HsExtUtilBigButtonCommon.h.

Go to the source code of this file.

Data Structures

Defines


Define Documentation

#define bbutGadgetMiscSelectData   ((void*)0xBADC0DE1)

Magic # to make conflicts even less likely for detecting big button presses.

Definition at line 51 of file HsExtUtilBigButtonCommon.h.

#define bbutGadgetMiscSelectSelector   7014

This selector gets sent with a frmGadgetMiscEvent to let you know that the gadget has been selected. The numbers are picked semi-randomly so that generic code (like HsUtilFrmDoDialogWithCallback()) can tell that this is actually a button press without doing the wrong thing for other people's gadget events.

Note that in most code, you shouldn't need to worry about checking the data, since you know exactly what gadgets are on your form and what kind of events they send. Randomish number so people can easily detect big button presses

Definition at line 49 of file HsExtUtilBigButtonCommon.h.

#define hsBigButtonRscType   'bBut'

This is the type of big button resources. The ID should match the ID of the form... Registered: yes

Definition at line 59 of file HsExtUtilBigButtonCommon.h.


Top Palm Developer Network
© 2004-2008, Palm, Inc. All rights reserved.
Generated on Fri Jun 13 10:07:05 2008 for Palm API Guide