Solved

mdi parent border

Posted on 1998-07-01
3
368 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi 10 Seattle Dataset Actions 5 79
how to draw animated progressbar in Tvirtualstringtree 5 117
How to debug For loops? 3 46
Dev express lookupcombo 3 13
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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now