Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!newsfeed.straub-nv.de!feeder.news-service.com!aioe.org!.POSTED!not-for-mail From: Deanna Earley Newsgroups: comp.lang.basic.visual.misc Subject: Re: Overriding Windows display settings - vb6 Date: Tue, 23 Aug 2011 15:05:52 +0100 Organization: Aioe.org NNTP Server Lines: 30 Message-ID: References: <62ddb9d6-ee83-4100-887e-73ac27d68979@c29g2000yqd.googlegroups.com> NNTP-Posting-Host: rjApkXnSOjrT83QpZ8fKqg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0) Gecko/20110812 Thunderbird/6.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:400 On 12/08/2011 20:01, Brigand wrote: > Run into a minor problem that I'm not sure if I can fix easily. > > Basically, I am using a form and printing characters at specific > locations on the form: > > eg > > form1.currentx = 10 > form1.currenty = 10 > form1.print "text" A quick fix if you're working around fixed pixel size objects, you will need to switch to using pixels in your form (setting scalemode to vbpixels). If you've already set this, then you've most likely hit the "odd stuff" the VB runtime/windows is doing at unusual (e.g. 112%) DPI settings which seems to break user control sizing (among others). Without going the whole hog and using Windows 7 DPI aware, I found no immediate fix for this. -- Dee Earley (dee.earley@icode.co.uk) i-Catcher Development Team http://www.icode.co.uk/icatcher/ iCode Systems (Replies direct to my email address will be ignored. Please reply to the group.)