Article View: borland.public.cppbuilder.nativeapi
Article #15128Modal forms in modalless forms
From: Moshe Shahar
Date: Wed, 16 Jul 2003 08:48
Date: Wed, 16 Jul 2003 08:48
15 lines
1485 bytes
1485 bytes
Hi. I add a modalless form to my app with WS_EX_APPWINDOW ExStyle and with the desktop window as parent. Now, I have 2 buttons on the task bar window. One for the MainForm and one for the new form (lets call it MyForm). So, where is the problem ? The problem is that when I show a modal form or msg box from the MyForm the MainForm pop up to the front and the modal form appear on it, and when it closed the MyForm return to the front. How do I prevent it from happend ?
Technical Details
Message-ID:
<3f151179@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,34b8c1844f10f9f0,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-16 02:03:22 PST Reply-To: "Moshe Shahar" <msachar@tiogatech.com> From: "Moshe Shahar" <msachar@tiogatech.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Modal forms in modalless forms Date: Wed, 16 Jul 2003 11:48:54 +0300 Lines: 17 Organization: Tioga Technologies 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: 62.90.94.245 Message-ID: <3f151179@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1058345337 62.90.94.245 (16 Jul 2003 01:48:57 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail