Thanks Tony for the quick response but I already tried that still no joy.
It turns out this error only happens when I'm running the program from in the IDE during programming.
Once it's compiled and run with the IDE closed the problem goes away??????
A bit of a headache whilst testing but fine...
Hi,
Look under help for GetSystemMetrics()
There is a load of info you can get from this function (too much to list here).
GetSystemMetrics(SM_CYCAPTION) may be of use here but be sure to check if XP themes is on as this seems to throw it out slightly.
Hope this helps.....
"Time Is Precious...
There is a Default User Key under HKEY_USERS\\.DEFAULT, not sure if this is accessible or not, but might be worth an attempt.
"Time Is Precious, Waste It Wisely
BCB6 C++/ Win XP/
Hi,
I need to get SelectDirectory() to open at the "Desktop" or at least "My Computer" level so other drives can be selected.
I have been trying to get this sorted for ages but with no luck. Working code is :
AnsiString PathName="";
if (SelectDirectory("Select...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.