realbasic-nug
[Top] [All Lists]

Re: Which WinXP Theme is in use?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Which WinXP Theme is in use?
From: Aaron Ballman <aaron at realsoftware dot com>
Date: Wed, 31 Aug 2005 15:55:52 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <9BDE5B1B-0A08-4E07-88DD-FB7DB2894E28 at stretchedout dot com> <4315E47D dot 1070009 at realsoftware dot com> <371BD574-D2DD-4773-A308-FF7AC4192D63 at stretchedout dot com> <4315F49F dot 1010908 at realsoftware dot com> <A46627AE-7AF8-4C7E-8536-25533DBA1AA6 at stretchedout dot com>
Greg wrote:
On Aug 31, 2005, at 2:19 pm, Aaron Ballman wrote:

Declare Function GetLastError Lib "kernel32" () as Integer
MsgBox Str( GetLastError )


This returned "0".

After further investigation, I am only getting an answer if the theme is set to Windows XP Style. If it is set to Windows Classic Style, I get an empty string.

Yeah, that makes some sense then -- classic isn't really a theme, it's the lack of a theme. I bet if you install some other theme aside from Luna it'll also return strings.

~Aaron

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>