Xojo Conferences
XDCMay2019MiamiUSA

[MBS] TargetWinXP/TargetWin7 (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] ZipMBS.AppendStatusCreateAfter in 10.1
Next thread: [MBS] [ANN] 11.0pr14


Re: [MBS] MBS Real Studio Audio Plugin crash   -   Garth Hjelte
  [MBS] TargetWinXP/TargetWin7   -   Mark Franken
   Re: [MBS] TargetWinXP/TargetWin7   -   Mark Franken
   Re: [MBS] TargetWinXP/TargetWin7   -   Christian Schmitz

[MBS] TargetWinXP/TargetWin7
Date: 14.01.11 12:28 (Fri, 14 Jan 2011 22:28:22 +1100)
From: Mark Franken

Hi Christian,

I've seen you write this somewhere but can't find it. How do you find out if your app is running on WinXP or Win7 or WinVista?

Thanks,

Mark







_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] TargetWinXP/TargetWin7
Date: 15.01.11 11:31 (Sat, 15 Jan 2011 21:31:09 +1100)
From: Mark Franken
On 15/01/2011, at 2:23 AM, Christian Schmitz wrote:

> You should not test for versions, but for features.
> Some Windows Vista things where introduced with Vista and later back ported to XP as an optional install.
> So it may be better to check the feature.
>
> Check the SystemInformationMBS class:
> http://www.monkeybreadsoftware.net/module-systeminformationmbs.shtml
>
> There is
>
> SystemInformationMBS.isWindows7 as boolean
> SystemInformationMBS.isWindowsVista as Boolean
> etc.

The SystemInformationMBS class is what I'm after. I only need to test for a small difference in window border size between XP and Vista/Win7.

Thanks,

Mark

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] TargetWinXP/TargetWin7
Date: 14.01.11 16:23 (Fri, 14 Jan 2011 16:23:18 +0100)
From: Christian Schmitz

Am 14.01.2011 um 12:28 schrieb Mark Franken:

>
> Hi Christian,
>
> I've seen you write this somewhere but can't find it. How do you find out if your app is running on WinXP or Win7 or WinVista?

You should not test for versions, but for features.
Some Windows Vista things where introduced with Vista and later back ported to XP as an optional install.
So it may be better to check the feature.

Check the SystemInformationMBS class:
http://www.monkeybreadsoftware.net/module-systeminformationmbs.shtml

There is

SystemInformationMBS.isWindows7 as boolean
SystemInformationMBS.isWindowsVista as Boolean
etc.

Greetings
Christian