🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11717

Re: Form position

#11717
From: Zannha
Date: Tue, 20 Jan 2004 09:58
13 lines
1390 bytes
Thanks to both of you. That worked.

I found some code to initialize ChangeDisplaySettings()

However, if I change from 800x600 to 1024x768, my application ends up behind
other applications, it's not ontop, this ONLY happens when I change
resolution.

I've tried executing Form1->BringToFront(), Application->BringToFront(),
Application->NormalizeAll(), Form1->Focused() etc but nothing seems to want
to put my form ontop after a resolution change.

Anyone have any ideas?
Technical Details
Message-ID: <400cfbec@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <400c0ff7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b7cd46e99cc6273c
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-20 02:02:22 PST
From: "Zannha" <lars.boldt@effekt.no>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <400c0ff7$1@newsgroups.borland.com>
Subject: Re: Form position
Date: Tue, 20 Jan 2004 10:58:58 +0100
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 194.248.142.220
Message-ID: <400cfbec@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074592748 194.248.142.220 (20 Jan 2004 01:59:08 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail