Hi,
I have a lot of edit child windows and text painted on a windows application made from the API all at runtime. How do I go about making the scrollbar to move them all?
What I attempted:
in the WM_PAINT message I have it paint a big red (later I will make white) rectangle filling the full window then it paints the text into its new position. The new position is takin from its initial position - the position of the scrollbar. For the edit windows I move them by the SetWindowPos function (initialPos - scrollbar position).
Yet nothing works the way I want it to. One of the major things, is that the WM_PAINT message comes up when I don't want it to making a very red and white blinking computer screen.
here my source files:
https://netfiles.uiuc.e du/qmitche2/www/allfiles.zip
I have a lot of edit child windows and text painted on a windows application made from the API all at runtime. How do I go about making the scrollbar to move them all?
What I attempted:
in the WM_PAINT message I have it paint a big red (later I will make white) rectangle filling the full window then it paints the text into its new position. The new position is takin from its initial position - the position of the scrollbar. For the edit windows I move them by the SetWindowPos function (initialPos - scrollbar position).
Yet nothing works the way I want it to. One of the major things, is that the WM_PAINT message comes up when I don't want it to making a very red and white blinking computer screen.
here my source files:
https://netfiles.uiuc.e du/qmitche2/www/allfiles.zip
Comment