Click here to Skip to main content
15,889,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralStrange implementation in one of the samples... Pin
EiSl12-Jul-01 23:12
EiSl12-Jul-01 23:12 
GeneralCPropertySheet::RemovePage in MFC causes memory leak Pin
Serge Desmedt12-Jul-01 23:11
professionalSerge Desmedt12-Jul-01 23:11 
GeneralRe: CPropertySheet::RemovePage in MFC causes memory leak Pin
Tomasz Sowinski13-Jul-01 0:00
Tomasz Sowinski13-Jul-01 0:00 
GeneralRe: CPropertySheet::RemovePage in MFC causes memory leak Pin
Serge Desmedt13-Jul-01 5:33
professionalSerge Desmedt13-Jul-01 5:33 
GeneralSaving HICON to a file Pin
Deian12-Jul-01 22:45
Deian12-Jul-01 22:45 
GeneralWhy not delete the CSingleDocTemplate Pin
ndkk12-Jul-01 22:01
ndkk12-Jul-01 22:01 
GeneralProblem in RegQueryValueEx Pin
Yamuna12-Jul-01 21:35
Yamuna12-Jul-01 21:35 
GeneralByteBuffer Pin
12-Jul-01 21:12
suss12-Jul-01 21:12 
Hi all,

I have a class to print individual pixels on a labelprinter. My barcodes are great but I would also like to print images and/or text. For this purpose I had the idea to create a CDC, place all my bitmaps and text in that cdc and then to convert it to a byte-buffer which I could send to the printer. Why bytes? Because the labelprinter only takes bytes and each byte represents 8 black/white pixels. I (think) cannot send the bytes from a cdc directly because I also need to send control codes to the printer to indicate newlines/formfeeds/margins...
Any ideas on how to convert the CDC to a BYTE-buffer that suits my needs? Other ways to solve this are also greatly appreciated.Roll eyes | :rolleyes:
GeneralRe: ByteBuffer Pin
Tomasz Sowinski13-Jul-01 0:20
Tomasz Sowinski13-Jul-01 0:20 
GeneralScrollview & Zoom Pin
12-Jul-01 20:14
suss12-Jul-01 20:14 
GeneralRe: Scrollview & Zoom Pin
Tomasz Sowinski13-Jul-01 0:14
Tomasz Sowinski13-Jul-01 0:14 
GeneralCaller ID Pin
Vishnu Vijayan12-Jul-01 20:01
Vishnu Vijayan12-Jul-01 20:01 
GeneralRe: Caller ID Pin
Michael P Butler12-Jul-01 22:49
Michael P Butler12-Jul-01 22:49 
GeneralTray Icon Pin
vijayaramaraju12-Jul-01 18:52
vijayaramaraju12-Jul-01 18:52 
GeneralRe: Tray Icon Pin
Michael Dunn12-Jul-01 19:18
sitebuilderMichael Dunn12-Jul-01 19:18 
GeneralCOleCurrency Pin
otvac12-Jul-01 15:01
otvac12-Jul-01 15:01 
GeneralRe: COleCurrency Pin
Tomasz Sowinski13-Jul-01 0:11
Tomasz Sowinski13-Jul-01 0:11 
GeneralPointer to CListCtrl Pin
Frank Deo12-Jul-01 13:59
Frank Deo12-Jul-01 13:59 
Generaltransparent static control problems Pin
stephen.hazel12-Jul-01 12:35
stephen.hazel12-Jul-01 12:35 
GeneralRe: transparent static control problems Pin
Michael Dunn12-Jul-01 12:39
sitebuilderMichael Dunn12-Jul-01 12:39 
GeneralRe: transparent static control problems Pin
stephen.hazel12-Jul-01 13:04
stephen.hazel12-Jul-01 13:04 
GeneralRe: transparent static control problems Pin
12-Jul-01 14:10
suss12-Jul-01 14:10 
GeneralRegistering file types that aren't doc/view types Pin
12-Jul-01 11:33
suss12-Jul-01 11:33 
GeneralRe: Registering file types that aren't doc/view types Pin
Michael Dunn12-Jul-01 15:13
sitebuilderMichael Dunn12-Jul-01 15:13 
GeneralHURGENT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
12-Jul-01 10:48
suss12-Jul-01 10:48 

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.