Hello,
I am getting a bit confused here. Please help me.
At present, when I double click on an item in my list-view, I display a message box with the required text. This was just a temporary solution since I need a window (child/popup?) with some scroll bars, since there is sometimes a lot of text to display.
However, I am confused over how to implement a simple child/popup window with two scroll bars.
Do I need to register a new window class for this? If so, then I can take from there. If not, what is the preferred method?
I am getting a bit confused here. Please help me.
At present, when I double click on an item in my list-view, I display a message box with the required text. This was just a temporary solution since I need a window (child/popup?) with some scroll bars, since there is sometimes a lot of text to display.
However, I am confused over how to implement a simple child/popup window with two scroll bars.
Do I need to register a new window class for this? If so, then I can take from there. If not, what is the preferred method?
I would advise creating a dialog type window as a resource, then pop it up using CreateDialogIndirectParam or similar. If you use a textbox for the text, you can set the scrollbars at design time.
Thank you Sluggy.
That's the way it shall be done.
That's the way it shall be done.