win32
asked on
ScrollBar
How do I Create a ScrollBar like this
..
SCROLLBAR Scrol1 ;
without using MFC
..
SCROLLBAR Scrol1 ;
without using MFC
Do you mean you want to write a class like MFC's scrollbar class? That is quite involved (I know, I've put 3 years into my MFC-like class library.(
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
that allows you to create the scrollbar control window, that doesn't allow you to do something like
SCROLLBAR Scrol1 ;
For that you need to wrap the CreateWindow()--and a lot more into a class.
SCROLLBAR Scrol1 ;
For that you need to wrap the CreateWindow()--and a lot more into a class.
ASKER
Year that's working ..
Well thats a smoth way of doing it. (I am using registerd classes) !
>Where can I find a list of all registerd classes ?<
Well thats a smoth way of doing it. (I am using registerd classes) !
>Where can I find a list of all registerd classes ?<
ASKER
Year that's working ..
Well thats a smoth way of doing it. (I am using registerd classes) !
>Where can I find a list of all registerd classes ?<
Well thats a smoth way of doing it. (I am using registerd classes) !
>Where can I find a list of all registerd classes ?<
ASKER
Whoops...(sending 2 times)
Ok I also want to draw a BMP in an window (And I have got that to work)
BUT, the window i created like this:
W1 = CreateWindow("edit",...)
And I found out that "edit" class is not the optimal way to do this. How do I init a window optimised for showing BMPs. The problem is that the "edit" window atomaticly redraws, resulting of multiple redraws (NOT clever)-- I want to do like this:
w1 = CreateWindow("no_redraw".. ), or acturly get the window to point to the BMP, so that I wont have to redraw on scaling with
WM_PAINT:
update(...);
return 0 ;
Ok I also want to draw a BMP in an window (And I have got that to work)
BUT, the window i created like this:
W1 = CreateWindow("edit",...)
And I found out that "edit" class is not the optimal way to do this. How do I init a window optimised for showing BMPs. The problem is that the "edit" window atomaticly redraws, resulting of multiple redraws (NOT clever)-- I want to do like this:
w1 = CreateWindow("no_redraw"..
WM_PAINT:
update(...);
return 0 ;
Register your own class for that