Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 19320, BCB Application with pseudo Main Form

by Vladimir Afanasyev Email: Anonymous


Application is creates without button and icon on taskbar. The main window of application is not associated with a windowed control.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For C++Builder, Version 5.0  to 5.0 806 downloads
Copyright: Open Source or other


Size: 8,318 bytes
Updated on Mon, 09 Dec 2002 00:14:22 GMT
Originally uploaded on Wed, 04 Dec 2002 07:41:57 GMT
SHA1 Hash: 81A633709379FDDB2C9A812E7B9D7BF360B3BB4E
MD5 Hash: E2169FBD8F149ECFAC97CD09A4993E31

    Explore the files in this upload

Description
05-Dec-02. How to create Hidden Application can be finded on bcbdev site:
Harold Howe (TeamB)
Q: Start a program hidden
http://www.bcbdev.com/faqs/faq6.htm

Here I use another idea Main form creates by AllocateHWnd VCL function. Application is creates without button and icon on taskbar. The main window of application is not associated with a windowed control. But application has another window (not main) that is showed when you push OK in the periodically appearing dialog.
Task Manager for Windows 2000 show it only as process (not Application). Task Manager for Windows 98 show application.
When it useful:
1) for long-time calculation (such application can work in the background and after finish open information form)
2)such application can observe, spy etc for some system notification and state and respond on it.
3)can execute some service functions in background for another application receiving messages and respond on it.

09-Dec-02. I add sample of the "long-time calculation" application.
This app (project MonteCarlo) callculates Pi (3.1415926...) by method Monte Carlo. Application starts "quietly" with "pseudo" main form and without button on taskbar. During execution intermediate form will appear with info about calculation.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC03