?
Solved

Tool window

Posted on 2002-07-12
2
Medium Priority
?
166 Views
Last Modified: 2010-08-05
How to make a tool window that can be active all the time (both main window and tool window are active), just like in photoshop?
0
Comment
Question by:agustinus
2 Comments
 
LVL 44

Accepted Solution

by:
CrazyOne earned 225 total points
ID: 7151480
Not sure if I understand your question. But have tried using MDI.

From Delphi Help
"o create a new MDI application,

1     Select File|New to bring up the New Items dialog.
2     Click on the Projects page and select MDI Application.
3     Click OK.

MDI applications require more planning and are somewhat more complex to design than SDI applications. MDI applications spawn child windows that reside within the client window; the main form contains child forms. Set the FormStyle property of the TForm object to specify whether a form is a child (fsMDIForm) or main form (fsMDIChild). It is a good idea to define a base class for your child forms and derive each child form from this class, to avoid having to reset the child form’s properties."
---------------

"Any form can be implemented as a multiple document interface (MDI) or single document interface (SDI) form. In an MDI application, more than one document or child window can be opened within a single parent window. This is common in applications such as spreadsheets or word processors. An SDI application, in contrast, normally contains a single document view. To make your form an SDI application, set the FormStyle property of your Form object to fsNormal.

For more information on developing the UI for an application, see Developing the application user interface."
----------------

TCustomForm.FormStyle
"Determines the form’s style.

type TFormStyle = (fsNormal, fsMDIChild, fsMDIForm, fsStayOnTop);
property FormStyle: TFormStyle;

Description

Use FormStyle to get or set the form’s style. FormStyle is one of the following values:

Value     Meaning

fsNormal     The form is neither an MDI parent window nor an MDI child window.
fsMDIChild     The form is an MDI child window.
fsMDIForm     The form is an MDI parent window.
fsStayOnTop     This form remains on top of the desktop and of other forms in the project, except any others that also have FormStyle set to fsStayOnTop. If one fsStayOntop form launches another, neither form will consistently remain on top.

If the form is the main form of an MDI application, its FormStyle property must be set to fsMDIForm.

Note:     It is not advisable to change FormStyle at runtime."


The Crazy One
0
 

Author Comment

by:agustinus
ID: 7163948
Someone Tells me to use wm_paint message to simulate the color of an active form,.... I'd like to try that,...
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Integration Management Part 2
Loops Section Overview
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question