Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Left Scrollbar

Posted on 2000-04-14
10
265 Views
Last Modified: 2013-11-20
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!
0
Comment
Question by:dchampagne
  • 5
  • 5
10 Comments
 
LVL 11

Accepted Solution

by:
mikeblas earned 50 total points
ID: 2717906
> Is there a anyway to do this on an english OS?


Yes: draw your own scrollbar control explicitly, and scroll whatever you want in response to the message it sends. Like the docs say, you can't have the _system_ create and manage a left-hand scrollbar unless you're using a bidirectional language.

..B ekiM
0
 

Author Comment

by:dchampagne
ID: 2722748
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...
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 2723436
> 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
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:dchampagne
ID: 2727140
Ok.  Thanks anyway!
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 2727286
Was there something else you needed that I didn't provide?  That is, why the grade of "C"?

..B ekiM
0
 

Author Comment

by:dchampagne
ID: 2727337
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.
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 2729043
> 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

0
 

Author Comment

by:dchampagne
ID: 2730496
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.
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 2731073
> 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
0
 

Author Comment

by:dchampagne
ID: 2731101
You're right.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Macro to save highlighted rows as a separate file 5 45
Expand to include initial dialog with two choices. 9 80
Window placement 17 87
Message not shown 5 67
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question