Click here to Skip to main content
15,882,751 members
Home / Discussions / C#
   

C#

 
GeneralRe: Marshaling Array of IntPtr Pin
Tristan Rhodes12-Mar-04 4:45
Tristan Rhodes12-Mar-04 4:45 
GeneralRe: Marshaling Array of IntPtr Pin
Heath Stewart12-Mar-04 4:50
protectorHeath Stewart12-Mar-04 4:50 
GeneralRe: Marshaling Array of IntPtr Pin
Tristan Rhodes12-Mar-04 5:24
Tristan Rhodes12-Mar-04 5:24 
GeneralRe: Marshaling Array of IntPtr Pin
Heath Stewart12-Mar-04 5:29
protectorHeath Stewart12-Mar-04 5:29 
GeneralRe: Marshaling Array of IntPtr Pin
Tristan Rhodes12-Mar-04 6:28
Tristan Rhodes12-Mar-04 6:28 
Generalwebservice Pin
cmarmr12-Mar-04 3:26
cmarmr12-Mar-04 3:26 
GeneralRe: webservice Pin
Heath Stewart12-Mar-04 4:09
protectorHeath Stewart12-Mar-04 4:09 
GeneralPrinting With Win32API Pin
Shaun Becker12-Mar-04 3:24
Shaun Becker12-Mar-04 3:24 
I am doing an application to print my companies invoices. Currently it uses the .net printing framework. I am looking to change that to straight Win32API to help speed it up. Plus that will use less resources. Three questions.

1) I can't seem to create a font with CreateFontIndirect(LOGFONT). I think that I am putting in the wrong value for the height. Could someone give me an example of how to create a font with that API?

2) I can't seem to use the DrawText function. I can print using the TextOut but I wanted to use the DrawText function for the formatting options. However, whenever I try to use it, it prints out a blank page. Could someone give me an example of how to print text with that API?

3) Does anyone know of a good resource to printing with pure Win32API?

Thanks alot for any help.

Shaun
GeneralA MDI in a MDI Pin
sixefftee12-Mar-04 3:12
sixefftee12-Mar-04 3:12 
GeneralRe: A MDI in a MDI Pin
ASGill12-Mar-04 4:23
ASGill12-Mar-04 4:23 
GeneralRe: A MDI in a MDI Pin
sixefftee12-Mar-04 6:20
sixefftee12-Mar-04 6:20 
GeneralRe: A MDI in a MDI Pin
John Fisher12-Mar-04 7:53
John Fisher12-Mar-04 7:53 
GeneralRe: A MDI in a MDI Pin
sixefftee12-Mar-04 8:34
sixefftee12-Mar-04 8:34 
GeneralRe: A MDI in a MDI Pin
John Fisher12-Mar-04 11:26
John Fisher12-Mar-04 11:26 
QuestionCan you temporarily lock a directory? Pin
boozebomb112-Mar-04 2:42
boozebomb112-Mar-04 2:42 
AnswerRe: Can you temporarily lock a directory? Pin
Heath Stewart12-Mar-04 3:56
protectorHeath Stewart12-Mar-04 3:56 
GeneralRe: Can you temporarily lock a directory? Pin
boozebomb112-Mar-04 4:13
boozebomb112-Mar-04 4:13 
GeneralRe: Can you temporarily lock a directory? Pin
Heath Stewart12-Mar-04 4:23
protectorHeath Stewart12-Mar-04 4:23 
GeneralCustom borders Pin
Mathew Hall12-Mar-04 2:24
Mathew Hall12-Mar-04 2:24 
GeneralRe: Custom borders Pin
John Fisher12-Mar-04 3:32
John Fisher12-Mar-04 3:32 
GeneralRe: Custom borders Pin
Mathew Hall13-Mar-04 2:09
Mathew Hall13-Mar-04 2:09 
GeneralRe: Custom borders Pin
John Fisher13-Mar-04 4:11
John Fisher13-Mar-04 4:11 
GeneralCatching a message Pin
T i T i12-Mar-04 1:06
T i T i12-Mar-04 1:06 
GeneralRe: Catching a message Pin
Mike Dimmick12-Mar-04 2:16
Mike Dimmick12-Mar-04 2:16 
GeneralRe: Catching a message Pin
Wraith212-Mar-04 2:27
Wraith212-Mar-04 2:27 

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.