but I have been having a issue, I needed the listbox to be able to hide the scrollbar and to be able to make one scrollbar change all the boxes and I almost have it, but currently my issue is when I move the scrollbar in my listbox nothing is triggered in the EGET_SCROLL_BAR_CHANGED so I can't change the rest of the listboxes. I've been using Code::Blocks as my code editor and I've used the Debugger to see if it was even entering that area and it isn't.
I'm using standard listboxes except I've added a little to it to hide the scrollbar and I've added the getPos and setPos from the scrollbar
Code: Select all
virtual void showScrollBar(bool show)
{
Visible = show;
}
virtual void setPos(s32 pos)
{
ScrollBar->setPos(pos);
}
virtual s32 getPos()
{
position = ScrollBar->getPos();
return position;
}
Thanks
Noyesdude