Link to home
Start Free TrialLog in
Avatar of TPAKTOP
TPAKTOP

asked on

Formless application!

I have to create an application which doesn't show form when it starts!
Avatar of TPAKTOP
TPAKTOP

ASKER

Thanx!
ASKER CERTIFIED SOLUTION
Avatar of simonet
simonet
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
btw:the mainform's visible property should also be false
chengjian,

Take a look at the last line of my suggestion #2:

>and make sure that the Visible property of the form is
>also False

Alex
A caveat:
You can make a formless application.  Then you may wish to use a Windows API function that requires you to pass the handle of the calling application (ie. your app).  Normally this is the handle of the parent window - Application.Handle.  You don't have a parent window, so what do you pass?

I don't have a solution to this one as yet.
Well, for once, you can pass NULL/NIL/0, whatever, if the command is not directed at your application (i.e., it's supposed to be OK if you're just supposed to get some info in a structure, or make windows itself do something).

Plus, as much as I understand, you can also pass the application's handle, Application.Hanlde (of course), or even the required object's handle.

Anyone else?
Yeah, spelling mistake there. Application.Handle (again, of course).
This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.  If you are an EE Pro user, you can also choose Power Search to find all your open questions.

This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added.

https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
https://www.experts-exchange.com/jsp/zonesAll.jsp
 
Thank you,
Moondancer
Moderator @ Experts Exchange