Hallo Leute,
ich habe hier ein kleines Problem beim ausrichten meines Textes beim
Drucken.
ich benutze die Funktion:
pDC->TextOut(310,69 0,"Hier soll der text hin ");
das Problem ist das wenn ich einen Anderen Drucker habe der Tex auch an
einer anderen Stelle ist. So ich kann mir ja mit:
int a = rcClient.Height ();
int b = rcClient.Width( );
int c = pDC->GetDeviceCaps( PHYSICALWIDTH);
int d = pDC->GetDeviceCaps( PHYSICALHEIGHT) ;
disen beiden Methoden den Druckbereich holen auf dem ich drucken kann.
Nur wie teile ich diesen Druck bereich nun ein damit bei jedem Drucker
die Position des Textes gleich ist ?
Danke Jens 18 1909
<co******@gmx.d e> schrieb im Newsbeitrag
news:11******** *************@p 10g2000cwp.goog legroups.com... Hallo Leute,
ich habe hier ein kleines Problem beim ausrichten meines Textes beim Drucken. ich benutze die Funktion:
pDC->TextOut(310,69 0,"Hier soll der text hin ");
das Problem ist das wenn ich einen Anderen Drucker habe der Tex auch an einer anderen Stelle ist. So ich kann mir ja mit:
int a = rcClient.Height (); int b = rcClient.Width( );
int c = pDC->GetDeviceCaps( PHYSICALWIDTH); int d = pDC->GetDeviceCaps( PHYSICALHEIGHT) ;
disen beiden Methoden den Druckbereich holen auf dem ich drucken kann. Nur wie teile ich diesen Druck bereich nun ein damit bei jedem Drucker die Position des Textes gleich ist ?
Doh! co******@gmx.de wrote: Hallo Leute,
ich habe hier ein kleines Problem [...]
Wrong newsgroup. Try something with 'windows' in its name. And
follow the rules of the newsgroup you post to, especially regarding
the [human] language it's in.
V
--
Please remove capital As from my address when replying by mail
Victor Bazarov wrote: co******@gmx.de wrote: Hallo Leute,
ich habe hier ein kleines Problem [...]
Wrong newsgroup. Try something with 'windows' in its name. And follow the rules of the newsgroup you post to, especially regarding the [human] language it's in.
Hmm, just out of curiosity: Where is the rule that says you may only post in
english here?
Rolf Magnus wrote: Hmm, just out of curiosity: Where is the rule that says you may only post in english here?
It's called "common sense".
--
Salu2
Rolf Magnus wrote: Victor Bazarov wrote:
co******@gmx. de wrote:
Hallo Leute,
ich habe hier ein kleines Problem [...]
Wrong newsgroup. Try something with 'windows' in its name. And follow the rules of the newsgroup you post to, especially regarding the [human] language it's in.
Hmm, just out of curiosity: Where is the rule that says you may only post in english here?
Read my post. And others' posts that say the same thing. That's the
rule I am referring to. If you need an international law that says what
I said, there isn't any.
Curiosity kill[fil]ed the cat, Rolf.
On Wed, 15 Mar 2006 17:28:03 +0100 Rolf Magnus <ra******@t-online.de>
waved a wand and this message magically appeared: Hmm, just out of curiosity: Where is the rule that says you may only post in english here?
I would have thought that seeing all these English posts would have
given you a free clue.
-- http://www.munted.org.uk
"Honestly, what can I possibly say to get you into my bed?" - Anon.
In article <44********@x-privat.org>, Julián Albo <JU********@ter ra.es>
writes Rolf Magnus wrote:
Hmm, just out of curiosity: Where is the rule that says you may only post in english here?
It's called "common sense".
People can post in any language the like. The Internet is universal.
What is common sense is to use a language that the majority might
understand.
I have noticed that very few Americans post in English :-)
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys. org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
In article <dv************ *@news.t-online.com>, Rolf Magnus <ramagnus@t-
online.de> writes Victor Bazarov wrote:
co******@gmx.de wrote: Hallo Leute,
ich habe hier ein kleines Problem [...]
Wrong newsgroup. Try something with 'windows' in its name. And follow the rules of the newsgroup you post to, especially regarding the [human] language it's in.
Hmm, just out of curiosity: Where is the rule that says you may only post in english here?
Probably written in American in the original charter when the Internet
was only on the continental US. Perhaps it is worth re-visiting?
I would not start a war on languages... there are a LOT more Chinese
speakers/writers out there :-)
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys. org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Victor Bazarov wrote: Rolf Magnus wrote: Victor Bazarov wrote:
co******@gmx .de wrote:
Hallo Leute,
ich habe hier ein kleines Problem [...]
Wrong newsgroup. Try something with 'windows' in its name. And follow the rules of the newsgroup you post to, especially regarding the [human] language it's in.
Hmm, just out of curiosity: Where is the rule that says you may only post in english here?
Read my post. And others' posts that say the same thing. That's the rule I am referring to.
Well, how could someone new to the group know that? If he sees only english
postings, that doesn't automatically mean that english is the only accepted
language. And in clc++, we usually agree that such assumptions are bad
(hmm, x=5; x = x++ * x++; results in x being 42, so that must be how it is
in C++).
If you need an international law that says what I said, there isn't any.
No, but maybe a hint in the FAQ or somesuch would be useful. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Felix Natter |
last post by:
hi,
I have a structure like:
<topic name="xxx">
<subtopic name="subxxx">
<subsubtopic name="subsubxxx">
</subsubtopic>
</subtopic>
</topic>
|
by: Zenobia |
last post by:
Hello folks,
Is it possible to position an item within a <td> element? For
instance see below. The table has multiple rows, one for each
database record. Each row has 3 hrefs associated with it (for
edit, delete and update). I want to position these 3 href items
in the same columns, which would be posible if the span could be
positioned - for instance on the extreme right of the td in
which it is contained.
|
by: Peter Fjelsten |
last post by:
Guys at comp.infosystems.www.authoring.stylesheets,
I have designed a page in (x)HTML transitional that I am happy with
in (close to) standard compliant browsers (i.e. Firebird/Opera), but IE
is causing problems as can be expected since I have used
position:fixed.
I don't want to use too many hacks and I don't care that the page looks
a bit different in IE (their loss) but I want it to be usable.
|
by: Markus Ernst |
last post by:
Hello
Reading the follwing document:
http://www.w3.org/TR/WD-positioning-970131#In-flow
it seems very clear that position:relative should be relative to the parent
element. So in the following test case element1 and element2 should be
placed side by side inside a centered white container element:
http://www.markusernst.ch/test.htm
|
by: Jaime Rios |
last post by:
Hi,
I created a COM AddIn for Word that performs the functions
that it needs to, but I needed to add the ability for the
toolbar created by the COM AddIn to remember it's last
position and whether it was docked or not. I added the
following code to my "OnConnection" function but it fails
with an error, "Run-time exception thrown :
System.IO.IOException - Bad file name or number."
With applicationObject.CommandBars("SampleToolbar")
| |
by: juergen.tippmann |
last post by:
Hallo,
kann mir jemand sagen ob ich beim Öffnen eines Formulars in
Access2003, abfragen kann ob z.B. die Strg-Taste gedrückt ist oder
nicht?
|
by: Petra Meier |
last post by:
Hi,
I use the common code to determine the position of an element
getTop = function(o){
var nTop = null;
if(o){
do{
nTop += o.offsetTop;
|
by: agbee1 |
last post by:
Hello:
I've finally made the effort to ween myself from overly using tables and use CSS for my positioning. However, I am having a problem with my navigational menu properly aligning in Firefox, despite the fact that I have gotten a green light from W3.
link to problem page:
I didn't see a feature to attach my css code so I pasted sections of the code that dealt with layout and navigation below.
Thanking you in advance,
|
by: spynx |
last post by:
import javax.swing.JOptionPane;
import java.io.*;
import java.util.Arrays;
public class election5
{
public static void main( String args )
{
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |