I am messing with trying to scroll the main form
Here is the code that I put together
Lets just say I need some quiet time lol( actually need some help)
static Boolean frmMain_frmScroll_OnScrollbarRepeat(EventPtr event)
{
// Insert code for frmScroll
ScrollForm(FrmGetActiveForm(), frmScroll, event->data.sclRepeat.newValue -
event->data.sclRepeat.value, false);
return true;
}
void ScrollForm(FormPtr form, UInt16 scrollbarID, Int16 numLinesToScroll,
Boolean redraw)
{
FormPtr frm = FrmGetActiveForm();
if (numLinesToScroll < 0) ((UInt16) -numLinesToScroll, winUp);
else
((UInt16) numLinesToScroll, winDown);
}
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/