Scrollbar on Main Window
I want to some pictures(icons) on a window and I want to be able to scroll the window.
I added the WS_VSCROLL style to the main window the one created in WinMain but apparently I cannot scroll the images.
Is this normal? If it is what kind of window should I create on it to be able to add pictures on it and scroll the page?
As far as I know you have to check the scrollbar messages (WM_HSCROLL, WM_VSCROLL) to resetup the visible area over the whole 'real' area. I'm not sure if it can be done through the HDC modifying the views in some way; if not, you can solve that by creating your own view reference using some background scroll videogame technique.
Thank you Niara.
I just created a ListView on it that way I can scroll it up and down.