Link to home
Start Free TrialLog in
Avatar of Ocrana
Ocrana

asked on

Print problem/ Access OnDraw(CDC* pDC) method

Hello,
i have a little logic understanding problem with an third partie control I use. I bought a suite of controls (Codejock) and use a HexEditor of this collecttion. Now I tried to print out the content of the control to a printer. No success with all methods I know.

Ok, I asked the support of this company and what I get pack from them is:

"You can call its OnDraw(CDC* pDC) method to draw it"

Hmm...i really do not understand what this guy means. Cause the OnDraw of the control is protected, so how to access this from my dialog class?

Can someone help me here?

Ingo
ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ocrana
Ocrana

ASKER

Hi,

what I want is to print the Content of the HExview as shown in the control. Means the same formating. This is impossible to see the content of the datablocks. In some cases we need to print them out. But the control do not offer any method to receive the data, the only thing I can get is the raw buffer I give to the hexedit. But this will nt help me out cause I do not have the adresses and not the ASCII view.
Avatar of Ocrana

ASKER

sorry again;)

what I want is to print the Content of the HexEdit as shown in the control. Means the same formating. This is needed to see the content of the datablocks and the Ascii on the paper
But the control do not offer any method to receive the data, the only thing I can get is the raw buffer I give the hexedit. But this will not help me out cause I do not have the adresses and not the ASCII view.