Article View: borland.public.cppbuilder.nativeapi
Article #15322Re: BorderStyle = bsNone???
From: Robert Hoover
Date: Wed, 09 Jul 2003 20:35
Date: Wed, 09 Jul 2003 20:35
28 lines
2033 bytes
2033 bytes
Originially it looked like this... // create window seperate from Borland VCL hPanicWindow = CreateWindowEx(WS_EX_TOPMOST, szWindowClass, "PanicForm", 0, 0, 0, BlankForm->Width, BlankForm->Height, NULL, NULL, hInst, NULL); However, in the meantime, I found the solution that follows... // remove border SetWindowLong(hPanicWindow, GWL_STYLE, GetWindowLong(hPanicWindow, GWL_STYLE) & ~WS_BORDER & ~WS_DLGFRAME); I guess windows substitutes its own default parameters even when I tell it what I want. "Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message news:3f0c7814$1@newsgroups.borland.com... "Robert Hoover" <not.a.real.address@anywhere...sorry> wrote in message news:3f0c72a6@newsgroups.borland.com... > It seems that whatever I try doesn't give the results I'm looking for. What does your exact code look like? Gambit
Technical Details
Message-ID:
<3f0c7c85$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!in.100proofnews.com!in.100proofnews.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f0c64c0@newsgroups.borland.com> <3f0c6f15@newsgroups.borland.com> <3f0c72a6@newsgroups.borland.com> <3f0c7814$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,83cfb835af1a5617 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-09 13:40:36 PST From: "Robert Hoover" <not.a.real.address@anywhere...sorry> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f0c64c0@newsgroups.borland.com> <3f0c6f15@newsgroups.borland.com> <3f0c72a6@newsgroups.borland.com> <3f0c7814$1@newsgroups.borland.com> Subject: Re: BorderStyle = bsNone??? Date: Wed, 9 Jul 2003 16:35:31 -0400 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 208.59.156.180 Message-ID: <3f0c7c85$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1057782917 208.59.156.180 (9 Jul 2003 13:35:17 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!in.100proofnews.com!in.100proofnews.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail