not an event, we're referring to patching the system API. it's easier and
less scary than it sounds. basically you write a function that takes the
same parameter list as the system API "CtlDrawControl". then use
SysSetTrapAddress to point that system trap to your new function. your new
function must call the old function for anything it doesn't handle. your
function only needs to handle drawing the checkbox controls, and in fact you
could even call the system version and then just draw a circle over the
square that the system draws.
but you'd probably be happy with square checkboxes -- it sounds like your
biggest complaint was the pushbuttons that have nothing but text, and draw
as inverted when they're selected.
-----Original Message-----
From: Dave Lippincott <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, May 03, 1999 12:32 PM
Subject: Re: radio buttons
>There is a CtlHandleEvent function but I don't see the ctlDrawEvent covered
>by it. Just pendown, enter, repeat and exit.
>
>That would be a nice addition to the API, CtlHandleDrawEvent (hint hint
Dave
>or Bob)
>
>Dave
>
>-----Original Message-----
>From: Richard Hartman <[EMAIL PROTECTED]>
>To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
>Date: Monday, May 03, 1999 2:54 PM
>Subject: RE: radio buttons
>
>
>>Heck, you could patch the CtlDrawControl to
>>draw the -pushbuttons- differently, then you
>>wouldn't have to code up radio-button behavior
>>for the checkboxes.
>>
>>Can you set a custom draw routine for any ol'
>>control, or just tables & lists?
>>
>>--
>>-Richard M. Hartman
>>[EMAIL PROTECTED]
>>
>>186,000 mi./sec ... not just a good idea, it's the LAW!
>>
>>
>>> -----Original Message-----
>>> From: Chris Antos [mailto:[EMAIL PROTECTED]]
>>> Sent: Monday, May 03, 1999 10:44 AM
>>> To: [EMAIL PROTECTED]
>>> Subject: Re: radio buttons
>>>
>>>
>>> you could patch CtlDrawControl (etc) to draw checkboxes
>>> differently (eg,
>>> round circle) if the group id is > 10 or something like that.
>>> if you patch
>>> it within your app, and unpatch it on exit then you don't
>>> need HackMaster,
>>> either.
>>>
>>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>>> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>>> Date: Monday, May 03, 1999 10:01 AM
>>> Subject: RE: radio buttons
>>>
>>>
>>> >Your only other alternative is to use check box control, for
>>> all boxes
>>> >belonging to the same
>>> >group (identified by the group ID > 0), only one can be
>>> selected at a time,
>>> >work just like
>>> >radio button.
>>> >
>>> >> -----Original Message-----
>>> >> From: Dave Lippincott [SMTP:[EMAIL PROTECTED]]
>>> >> Sent: Monday, May 03, 1999 10:59 AM
>>> >> To: PalmOS Developer Forum
>>> >> Subject: radio buttons
>>> >>
>>> >> Does anyone know how to implement radio buttons on a form? All
>>> references
>>> >> in the docs to radio buttons say to use push buttons but I
>>> would rather
>>> >> use
>>> >> the real thing
>>> >>
>>> >> Thanks
>>> >> Dave
>>> >>
>>> >>
>>> >
>>>
>>>
>>
>>
>
>
>