Yes I guess its a bit vauge. I guess I was not sure what I was trying to find out.....ANYWAY...I now know what I am wanting to do...after a bit of time on the net.
What I want to do is find the NonClient area Params "NCCALCSIZE_PARAMS" of a form OTHER then the one the code is running from. What the problem is, if you run XP, you can tell an application to not use the Themes, i.e. it looks like an old style window. If you do this, it changes the NCParams of the window. For instance, in this case, the size of the buttons on the top right of the form , i.e. close, min and max, are 16 pixels. IF the form uses XP themes, the size of the buttins is now 25 ! What I need to do, is get the NCParams info for the forground window where I have other stuff happening. Is this a bit clearer ?? I hope so... :-) Jeremy -----Original Message----- From: "Andreas Toth" <[EMAIL PROTECTED]> To: Multiple recipients of list delphi <[EMAIL PROTECTED]> Date: Thu, 10 Oct 2002 11:16:18 +1300 Subject: RE: [DUG]: Detecting Theme > Sorry, could you please explain what the problem is a bit clearer > because I > can't see how running XP-style-aware applications with > non-XP-style-aware > application could be a problem other than a visual nuisance. Basically, > why > would you want to detect if a window uses a manifest (the stuff that > makes > an application XP-styles-aware) or not? > > Anyway, the following article explains manifests and how to make a > Delphi > application take on a manifest. It might not be what you want but it > may > provide you with some starters... > > http://delphi.about.com/library/bluc/text/uc111601a.htm > > > -Andreas > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of vss > Sent: Thursday, 10 October 2002 10:43 > To: Multiple recipients of list delphi > Subject: [DUG]: Detecting Theme > > > Hi all. > > Does anyone know if its possible to detect if a window uses XP Themes > or > is in standard mode? > The problem IS, that I personally run things like Delphi in the old > style, and all my other apps use XP Themes. > It might nto be poss. but its worth asking. > > Jeremy > > ----------------------------------------------------------------------- > ---- > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > ----------------------------------------------------------------------- > ---- > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/