|
http://www.fengyuan.com/article/wmprint.html
|
|
|
|
|
Is this possible. I want to be able to call functions in a DLL writen in C++, from a program writen in C.
If it is possible, is it possible to call functions within a class?
THanks for any help,
Yours
David Wulff
|
|
|
|
|
What font is used by office 2000 and 97 to paint the gui
Joel
|
|
|
|
|
Verdana is used in 200 (I don't have access to 97, so I don't know about that). Arial is used for any verticle fonts though (e.g a verticaly docked menu bar).
Size? 8 I would guess, but maybe 7.
David Wulff
|
|
|
|
|
And I thought they use Tahoma.
Uwe Keim
http://www.zeta-software.de
|
|
|
|
|
It might be... I said Verdana because i took a screenshot via PSP and zoomed in, then tried to match the text. Verdana exactly covered the text so I presumed it was Verdana.
David Wulff
|
|
|
|
|
Actually, it depends on which font you have set for the menu bars of "normal" apps. If you have it set to a bitmapped font (like MS Sans Serif), then Office uses Tahoma. If you have it set to a TrueType font, Office uses that.
The reason is that the menu bar needs to use a TTF so that the menu labels can be drawn vertically when the menu bar is docked vertically - bitmapped fonts can't be drawn rotated but TTFs can.
--Mike--
http://home.inreach.com/mdunn/
"That probably would've sounded more commanding if I wasn't wearing my yummy sushi pajamas."
-- Buffy
|
|
|
|
|
Verdana and Tahoma are pretty much as equal as Arial and Helvetica are. Tahoma comes with Adobe software and Verdana with Microsoft software (this is based on what I have found... I may be wrong as well).
Of course they are just a little bit different.
--memon
|
|
|
|
|
What is the proper declaration for a function to be exported from a c-style dll? Is there a way of doing it without using a .def file?
|
|
|
|
|
The func prototype should be:
extern "C" __declspec(dllexport) int YourFunction(void);
Then the actual declaration is:
int YourFunction(void)<br />
{<br />
<br />
}
--Mike--
http://home.inreach.com/mdunn/
|
|
|
|
|
How can I make a program that inserts some data into another executable that extracts the data? I am writing a encrypting/decrypting program, and I want it to be able to create self-decrypting Win32 executables.
Is the last section in a Win32 executable the data segment?
Thanks in advance for any advice!
Erik
|
|
|
|
|
I cannot find a tutor or sample code using a component like MSFlexGrid in an SDI/MDI View. And printing it!
Can somebody show me the way?
|
|
|
|
|
Use a form view, which means your view is laid out like a dialog on a property sheet. Then put the grid on the sheet. From memory you then override OnMove in your view to size the grid according to the view size.
LMK if you need more info and I'lldig up the project where I did it.
Christian
The content of this post is not necessarily the opinion of my yadda yadda yadda.
To understand recursion, we must first understand recursion.
|
|
|
|
|
I got the point, thanks a lot
Can you give one more spark to print it?
Suha
|
|
|
|
|
Found a spark here:
http://codeguru.earthweb.com/printing/formview_print.shtml
However it is limited to print only viewable portion of the CFromView!
|
|
|
|
|
I have to admit I did not get to the point of printing one. Given issues of colour and so on ( i.e. what looks good on the screen can be costly to print in colour and ugly in B&W ), maybe you want to allow the user to set what cells to print, and then do it yourself by drawing lines and text in the chosen font ?
Christian
The content of this post is not necessarily the opinion of my yadda yadda yadda.
To understand recursion, we must first understand recursion.
|
|
|
|
|
Use a form view, which means your view is laid out like a dialog on a property sheet. Then put the grid on the sheet. From memory you then override OnSize in your view to size the grid according to the view size.
LMK if you need more info and I'lldig up the project where I did it.
Christian
The content of this post is not necessarily the opinion of my yadda yadda yadda.
To understand recursion, we must first understand recursion.
|
|
|
|
|
Hi,
I want to get the list of domains in network. For example, on my network there are 25 computers and three domains ( Development, Customer and Save ).
How programatically can i list in a listbox or example ( or in array) theses domains names?
Thank in advance
|
|
|
|
|
What is HRESULT and HIWORD and LOWORD
please write example ...
|
|
|
|
|
|
Do the struct type accept data member of kind CArray?
Thank in advance, Leudis
|
|
|
|
|
Why not? Just try out.
Uwe Keim
http://www.zeta-software.de
|
|
|
|
|
My document has an unknown size (is listCtrl), I don't know how can I indicate to print loop that my document is multipage.
Thank in advance, Leudis.
I sorry but my English is very poor.
|
|
|
|
|
hi,
I'm looking for a way to add items to the popup menu that appears when you right click on a file in Windows. It would be nice if I could add an extra option too the "send to" part of the popup menu from a Visual C++ program ... Can anyone help???
Regards,
FlashP
|
|
|
|
|