Link to home
Start Free TrialLog in
Avatar of dchampagne
dchampagne

asked on

Left Scrollbar

Hi,
I would like to put a scrollbar on the left side of my dialog.  I've tried to set the "Left scroll bar" style in the resource editor but it doesn't work.  According to Microsoft doc, the OS language must be hebrew or arabic for this to work.  Is there a anyway to do this on an english OS?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of mikeblas
mikeblas

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dchampagne
dchampagne

ASKER

Ok, I already knew that this was possible but I would like my scrollbar to be system-driven...  However, it could also be a CScrollBar or CScrollView derived class whiche handle the scrolling stuff...
> However, it could also be a CScrollBar or CScrollView
 > derived class whiche handle the scrolling stuff...

No, it isn't. These classes just add the appropriate styles to the windows they create and have Windows do the work.

..B ekiM
Ok.  Thanks anyway!
Was there something else you needed that I didn't provide?  That is, why the grade of "C"?

..B ekiM
Sorry for the grade of C but I already knew that I could draw my own scrollbar.  Actually, I'm looking for a way to avoid this (e.g. by using a derived class).

Sorry again and thank you very much for trying to help me.
> I already knew that I could draw my own scrollbar. Actually, I'm looking for a way to avoid
 > this

Oh. Then, you should've mentioned that in the question. That way, I wouldn't have bothered.  You see, I can only answer the question that you actuall ask, not the hidden, unknown question you intend to grade me on.

  > (e.g. by using a derived class).

Like I said, all the MFC classes use Windows to manage their scrollbars. So, no MFC-supplied class will do the work for you. You've either got to write it yourself or steal some code from somene else to do it for you.

..B ekiM

Sorry to take much of your precious time.  Next time, I'll try to make my question clear.

However, let me remember you something: we are not here to get grades of A but to help each other.
> we are not here to get grades of A but to help each other.

And I can't provide adequate help if I don't know the _real_ question.

..B ekiM
You're right.