Solved

mdi parent border

Posted on 1998-07-01
3
374 Views
Last Modified: 2010-04-04
I have found how to make mdi parent borders present with the createparams procedure, but i want to make the parent borders disappear. I have my parent with "none" border style selected, but when I maximize it, there is still the 3d border around the edges. Is there an api value i can pass to createparams to make these go away?
0
Comment
Question by:billy1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Expert Comment

by:BoRiS
ID: 1356775
billy1

Check the SystemParametersInfo API Call...

I seem to remeber there is a option for SetBorder and SetNonClientMetrixBorder etc...

Later
BoRiS
0
 

Author Comment

by:billy1
ID: 1356776
I am not sure when I would use that api call. Could you give me an example?
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 30 total points
ID: 1356777
Try the following :

                      In OnCreate-method of Main form put

                      begin
                        SetWindowLong(Handle, GWL_EXSTYLE, GetWindowLong(Handle, GWL_EXSTYLE) and
                      not WS_EX_CLIENTEDGE);
                        SetWindowPos(Handle, 0,0,0,0,0, SWP_NOMOVE or SWP_NOSIZE or
                      SWP_FRAMECHANGED);
                      end;

Zif.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi application Soap connection 5 157
can't find the executable in Simulator 1 130
TEMBEDDEDWB how can i change its user agent ? 8 106
Delphi and Access based Enumeration 9 92
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

752 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