General information
Title:
Making an editor with an rtf control
Hi all,
I'm making an editor with a rtf control. I'm starting with an existing document that i dispay in my editor. Everything works well except printing my document. When i don't change a thing on my document it is printed like it's displayed on the screen.
When i change someting in my document only the text changed is printed. For ex : If i put one word in bold from a hole text only the word is printed.
I use the following to print my text
DECLARE INTEGER CreateDC IN WIN32API ;
INTEGER lpszDriver, ;
STRING @ lpszDevice, ;
INTEGER lpszOutput, ;
INTEGER lpInitData
DECLARE INTEGER DeleteDC IN WIN32API INTEGER hDC
nHDC = CreateDC(0,"MyWinPrinterName",0,0)
thisform.RTFControl1.SelPrint(nHDC)
Does somebody has an idea ?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only