GVM
asked on
Right print margin for RichEdit
In the Delphi IDE a gray line in the editor indicates the right margin for the text should it be printed. How can i do this with the RichEdit control?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ooops, I pasted twice - just grab up to the first "end." Sorry about that.
Hello guys!
heathprovost, I'm just wondering what is the reason for saving the original WndProc() of the TRichEdit contro?!?!
-Viktor
heathprovost, I'm just wondering what is the reason for saving the original WndProc() of the TRichEdit contro?!?!
-Viktor
viktornet, I am not sure I understand your question. Maybe I am missing something (I know you probably know more about this kind of stuff than I do). Dont you have to? I mean how can you call the original WndProc without first storing its Address? Is there a better way to do this?
Heath
Heath
BTW - I am still learning this subclassing stuff and Delphi makes it even harder than it is because it can be done so many different ways. Every example I see is done with a different method. Some use message procedures, some subclass the WndProc, and others us the CreateSubClass. I am just confused I guess. But I am only happy when I am confused :)
Heath
Heath