F'ing scrollbars!
-
I have been trying to get a scroll bar that has a thumb that is proportional to the area that is shown as can be seen in just about every scroll bar in a windows application! Is it possible! No f'ing way! I have tried everything. I have copied MFC code that does just this. Does it do it for me? F!ck no! Arrrggghghhhh, if anybody can do this, share it with me before I kill everyone in my department! I am beginning to feel better....deep breaths...... Roger Allen Sonork 100.10016 If I had a quote, it would be a very good one.
-
I have been trying to get a scroll bar that has a thumb that is proportional to the area that is shown as can be seen in just about every scroll bar in a windows application! Is it possible! No f'ing way! I have tried everything. I have copied MFC code that does just this. Does it do it for me? F!ck no! Arrrggghghhhh, if anybody can do this, share it with me before I kill everyone in my department! I am beginning to feel better....deep breaths...... Roger Allen Sonork 100.10016 If I had a quote, it would be a very good one.
I don't understand your problem. If the scrollbar behavior you are looking for is exhibited on every other scrollbar then using the MFC library you should get that behavior. Quite obviously I'm missing something from you desired outcome.
-
I have been trying to get a scroll bar that has a thumb that is proportional to the area that is shown as can be seen in just about every scroll bar in a windows application! Is it possible! No f'ing way! I have tried everything. I have copied MFC code that does just this. Does it do it for me? F!ck no! Arrrggghghhhh, if anybody can do this, share it with me before I kill everyone in my department! I am beginning to feel better....deep breaths...... Roger Allen Sonork 100.10016 If I had a quote, it would be a very good one.
You sure that you are doing it right? MFC has nothing to assist you apart from CScrollViews. You have to resize the thumb yourself each time the main area is updated if you're doing things manually. I personally hate programs that don't resize the thumb appropriately *cough* Photoshop *cough*, because not only can you not judge the work area size, but it is also more difficult to grab the damn thing. I use Photoshop 5 at college all the time, and that is the only thing that I feel lets it down. Simon This message has not been scanned for viruses. It may destroy your hard drive. Not likely, but run a virus scanner through everything I write before you read it. Just in case. Sonork ID 100.10024
-
You sure that you are doing it right? MFC has nothing to assist you apart from CScrollViews. You have to resize the thumb yourself each time the main area is updated if you're doing things manually. I personally hate programs that don't resize the thumb appropriately *cough* Photoshop *cough*, because not only can you not judge the work area size, but it is also more difficult to grab the damn thing. I use Photoshop 5 at college all the time, and that is the only thing that I feel lets it down. Simon This message has not been scanned for viruses. It may destroy your hard drive. Not likely, but run a virus scanner through everything I write before you read it. Just in case. Sonork ID 100.10024
Simon Walton wrote: You have to resize the thumb yourself each time the main area is updated if you're doing things manually.* So how do you re-size the thumb? I have tried everything I can think off etc.... Stirrings of hope.... Roger Allen Sonork 100.10016 If I had a quote, it would be a very good one.
-
Simon Walton wrote: You have to resize the thumb yourself each time the main area is updated if you're doing things manually.* So how do you re-size the thumb? I have tried everything I can think off etc.... Stirrings of hope.... Roger Allen Sonork 100.10016 If I had a quote, it would be a very good one.
You need to call SetScrollInfo with SIF_PAGE. Take a look below. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/scrolbar_5ib6.asp Simon This message has not been scanned for viruses. It may destroy your hard drive. Not likely, but run a virus scanner through everything I write before you read it. Just in case. Sonork ID 100.10024
-
You sure that you are doing it right? MFC has nothing to assist you apart from CScrollViews. You have to resize the thumb yourself each time the main area is updated if you're doing things manually. I personally hate programs that don't resize the thumb appropriately *cough* Photoshop *cough*, because not only can you not judge the work area size, but it is also more difficult to grab the damn thing. I use Photoshop 5 at college all the time, and that is the only thing that I feel lets it down. Simon This message has not been scanned for viruses. It may destroy your hard drive. Not likely, but run a virus scanner through everything I write before you read it. Just in case. Sonork ID 100.10024
Success. Thanks for the insigh. I have now got it working. Of course the MSDN docs etc don;t tell you squat about it. I feel an artical coming on.... Roger Allen Sonork 100.10016 If I had a quote, it would be a very good one.
-
Success. Thanks for the insigh. I have now got it working. Of course the MSDN docs etc don;t tell you squat about it. I feel an artical coming on.... Roger Allen Sonork 100.10016 If I had a quote, it would be a very good one.
Roger Allen wrote: I feel an artical coming on.... Yeah, please do. I had never even noticed that i was not doing this until you pointed out that it is possible... Now i'm thinking i should... :-O --------
This is what we've waited for This is it boys, this is War!
--Shog9 --
-
I have been trying to get a scroll bar that has a thumb that is proportional to the area that is shown as can be seen in just about every scroll bar in a windows application! Is it possible! No f'ing way! I have tried everything. I have copied MFC code that does just this. Does it do it for me? F!ck no! Arrrggghghhhh, if anybody can do this, share it with me before I kill everyone in my department! I am beginning to feel better....deep breaths...... Roger Allen Sonork 100.10016 If I had a quote, it would be a very good one.
Hah !! you should see the scrollbars in the Oracle Enterprise Manager. Bring up a table, if you scroll down too far, the window goes funny colours and you will need to close and open it again to see your data at all. It's a bit of an aside, but I wish for Larry Ellison to die penniless for the piece of trash that is the Oracle UI. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
-
Hah !! you should see the scrollbars in the Oracle Enterprise Manager. Bring up a table, if you scroll down too far, the window goes funny colours and you will need to close and open it again to see your data at all. It's a bit of an aside, but I wish for Larry Ellison to die penniless for the piece of trash that is the Oracle UI. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
Christian Graus wrote: I wish for Larry Ellison to die penniless for the piece of trash that is the Oracle UI. Patience grasshopper, patience. ;P Mike Mullikin "Thank you America, every night I see increasingly stupid things happening here in Australia. Then you come along and top it." - Michael Martin - The Lounge :bob:
-
Christian Graus wrote: I wish for Larry Ellison to die penniless for the piece of trash that is the Oracle UI. Patience grasshopper, patience. ;P Mike Mullikin "Thank you America, every night I see increasingly stupid things happening here in Australia. Then you come along and top it." - Michael Martin - The Lounge :bob:
It's just a matter of time... :-D