Results 1 to 8 of 8

Thread: MFC - scrollbars and colour

Threaded View

  1. #1

    Thread Starter
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Talking MFC - scrollbars and colour

    That's right - I am having two problems with a current MFC project I'm working on and want to improve.

    1) How on earth do you use scrollbars? I have added both a horizontal and vertical scrollbar to a dialogue, but can't figure out how to get it so a person can move them! I believe I can set the upper and lower bounds, but whenever I try to scroll, the box doesn't move...There are no messages thrown by the scrollbars, so i can't use them. Any ideas?

    2) Even harder: is it possible to change the colour of a Command Button, or is this aiming too high? In VB you can set the button to 'graphical', then change the colour as you wish, but i can't find this option in C++... I can't use .bmps either, as I would have to make too many of them. Suggestions?

    Thanks for your help


    *BUMP* Surely someone has used a scroll-bar at some stage??
    It's a long weekend now and i'm kinda stuck at this point...
    Last edited by sql_lall; Jun 13th, 2004 at 05:04 AM.
    sql_lall

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width