Click here to Skip to main content
15,909,498 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Time Comparisons Pin
Maximilien20-Jun-02 8:39
Maximilien20-Jun-02 8:39 
GeneralSystem Tray icons Pin
Abin20-Jun-02 8:05
Abin20-Jun-02 8:05 
GeneralRe: System Tray icons Pin
20-Jun-02 8:28
suss20-Jun-02 8:28 
GeneralRe: System Tray icons Pin
Abin20-Jun-02 8:33
Abin20-Jun-02 8:33 
GeneralRe: System Tray icons Pin
Shog920-Jun-02 8:53
sitebuilderShog920-Jun-02 8:53 
GeneralRe: System Tray icons Pin
20-Jun-02 8:59
suss20-Jun-02 8:59 
GeneralPrinting long CString Pin
HenrikO20-Jun-02 7:38
HenrikO20-Jun-02 7:38 
GeneralRe: Printing long CString Pin
Chris Losinger20-Jun-02 7:49
professionalChris Losinger20-Jun-02 7:49 
HenrikO wrote:
I've read some articles about this but everyone is avoiding this bit.

because that's the hard bit.

you essentially have to measure the page, then measure the string. if the string is too long, break it somewhere (by breaking and measuring in a loop, usually). then print the first part, page break, print the next part (or, as much of it that fits on the page) and so on.

i'm sure someone will correct me if i'm wrong... but that's the way i've always seen it done.

-c


Garbage collection, making life better - for weenies!
Image Processing - just like mom used to make.

GeneralRe: Printing long CString Pin
HenrikO20-Jun-02 7:52
HenrikO20-Jun-02 7:52 
GeneralRe: Printing long CString Pin
Chris Losinger20-Jun-02 8:02
professionalChris Losinger20-Jun-02 8:02 
GeneralRe: Printing long CString Pin
HenrikO20-Jun-02 8:06
HenrikO20-Jun-02 8:06 
GeneralRe: Printing long CString Pin
Roger Allen21-Jun-02 1:39
Roger Allen21-Jun-02 1:39 
Generalcalling main window from a secondary dialoge Pin
SilentWarrior20-Jun-02 7:24
SilentWarrior20-Jun-02 7:24 
GeneralRe: calling main window from a secondary dialoge Pin
Joaquín M López Muñoz20-Jun-02 7:30
Joaquín M López Muñoz20-Jun-02 7:30 
GeneralMany threads in ATL Service Pin
Hans Ruck20-Jun-02 7:04
Hans Ruck20-Jun-02 7:04 
GeneralStack overflow. Pin
redeemer20-Jun-02 5:53
redeemer20-Jun-02 5:53 
GeneralRe: Stack overflow. Pin
Joaquín M López Muñoz20-Jun-02 6:30
Joaquín M López Muñoz20-Jun-02 6:30 
GeneralRe: Stack overflow. Pin
redeemer20-Jun-02 6:58
redeemer20-Jun-02 6:58 
GeneralExecute on Windows Shutdown Pin
Marc Richarme20-Jun-02 5:31
Marc Richarme20-Jun-02 5:31 
GeneralRe: Execute on Windows Shutdown Pin
Mike Nordell20-Jun-02 19:00
Mike Nordell20-Jun-02 19:00 
GeneralMenu Item Text Pin
20-Jun-02 5:14
suss20-Jun-02 5:14 
GeneralRe: Menu Item Text Pin
20-Jun-02 5:30
suss20-Jun-02 5:30 
GeneralRe: Menu Item Text Pin
Brian Delahunty20-Jun-02 6:13
Brian Delahunty20-Jun-02 6:13 
QuestionHow do i delete a record set??? Pin
TommyKnocker20-Jun-02 4:51
TommyKnocker20-Jun-02 4:51 
AnswerRe: How do i delete a record set??? Pin
Chad Koehler20-Jun-02 5:00
Chad Koehler20-Jun-02 5:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.