The original Executable (CSED.exe) will do the Print-Preview.
Now if i recompile it with 10.04 (new headers), the Print-Preview does not work (Win XP).
I have taken a look into:
SUB CSED_WB_PrintPreview (BYVAL hParent AS DWORD, BYVAL strText AS STRING)
I have now added an " AfxDoEvents(hwnd) "
pHTMLDocument2 = pIWebBrowser2.Document
IF ISOBJECT(pHTMLDocument2) THEN
AfxDoEvents(hwnd)
IHTMLDocument2_WriteString(pHTMLDocument2, strText)
pHTMLDocument2.close
pHTMLDocument2 = NOTHING
Now it works.
Does anybody have an idea why this change was necessary?
It must be something with PB, as the original compiled CSED Executable works without that change.
I know this old lady in a dark room with incense and candles... Do you want the address? ;D
I have compiled it with 10.04 and it works without changes in my computer (Windows 7, 64-bit).
As said, after adding the
AfxDoEvents...
the PrintPreview works,
One more word, Jose. Looking at thiscode from CSED and at your Scintilla wrappers ... thats just an amazing work!
When i take a closer look, i can only say ITS ARTWORK. You are an ARTIST!
Compared to your Artwork, Picasso was just a Nerd (my personal opinion).
PS: If you try to compile things ... try to compile SED 115, and take a look why it does not startup. Possibly you can report a Bug in PB to Jim?