Thanks for your help.
InvalidateRect(hwnd, NULL, TRUE) works OK in a normal window. In a DialogBox it behaves differently (at least for me in this case).
I have to do more reading and experimenting.
OK, I asked too many questions. Could you answer at least one, please.
I have it in dialog box in a rectangle. I can zoom in, out using StretchBlt(). However, it only redraws if the dialog box is hidden and then shown again.
I think the problem is with the following statement:
theApp.pApplication.CreateInstance("CrystalRuntime.Application");
I used the debugger to check the value of theApp.pApplication after the above line has been executed.
theApp.pApplication is NULL.
Therefore, I think CreateInstance...
I have tried the example included in “Getting Started with the Crystal Report Designer Component in Microsoft Visual C++” available on Crystal Decisions web site.
However, I get runtime error when executing:
theApp.pReport = theApp.pApplication->OpenReport(FileName);
It appears that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.