🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Invisible applic detecting events?

#14475
From: Mattias Carleson
Date: Mon, 11 Aug 2003 21:55
18 lines
1726 bytes
> Make a normal GUI application like any other, and just hide its form,
don't
> remove it entirely.  TServerSocket events are not dependant on the form
> being visible or not.

This would be an application with only one form, the main form. How
can I hide it? Setting the Visible property to false doesnt work, does it?
I mean, when it is autocreated it becomes visble even if the property is
set to false at designtime.

> Yes, you can place a TServerSocket into a TDataModule just fine.

Yes I know, but in my  Windows console application I have no use for
a TDataModule, do I? I mean, it is not a real window, just a designtime
window, so it wont help me get the events to my ServerSocket. Am I
right?

/Mattias
Technical Details
Message-ID: <3f3810db@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!hermes.visi.com!news-out.visi.com!petbe.visi.com!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f37a260@newsgroups.borland.com> <3f37d355$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,7e936c8cd901518c
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-11 14:58:59 PST
From: "Mattias Carleson" <mattias.carleson@home.se>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f37a260@newsgroups.borland.com> <3f37d355$1@newsgroups.borland.com>
Subject: Re: Invisible applic detecting events?
Date: Mon, 11 Aug 2003 23:55:51 +0200
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 62.65.91.147
Message-ID: <3f3810db@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1060638939 62.65.91.147 (11 Aug 2003 14:55:39 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!hermes.visi.com!news-out.visi.com!petbe.visi.com!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail