Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Tremorblue

  1. Tremorblue

    WinCE 6.0

    Hi, I am using WinCE 6.0 with VS2005 We have fitted a new size screen to our board and set it up in the registry. Angle = Angle % 360; RegistryKey reg = Registry.LocalMachine.OpenSubKey(@"\System\GDI\Rotation", true); reg.SetValue("Angle", Angle...
  2. Tremorblue

    wcscpy converted from strcpy

    This seems to work.. wcscpy(s,aW.Copy());
  3. Tremorblue

    wcscpy converted from strcpy

    Also FileExists routine does not seem to support wide characters. Is there support for this in later versions.
  4. Tremorblue

    wcscpy converted from strcpy

    version 6 borland c++ builder.
  5. Tremorblue

    wcscpy converted from strcpy

    Ansi string to widestring conversion.. Why does this work using ansistring ? char s[20],t[20]; AnsiString aW; strcpy(s,t); // Works strcpy(s,aW.c_str()); Works. And this does not work using widestring ? wchar_t s[20],t[20]; WideString aW; wcscpy(s,t); // This works...
  6. Tremorblue

    Converting a program to use WideString from AnsiString.

    Iam using Borland Builder C++ 6. I am trying to convert a large program from using WideString to AnsiString so that it will support unicode languages. I have the Tnt unicode components for builder. I need to know how to replace the ansi string functions that are not supported. 1. UpperCase...
  7. Tremorblue

    WritePrivateProfileString

    Using WritePrivateProfileString to setup and ini file. It can be used by users or administrator on a PC. If the administrator uses it first then it locks the file out because of access rights. If I check for fileExists I could write the file with access rights to all before calling...
  8. Tremorblue

    Drag and drop on VCL components

    Hello Hennep, Don't you need to resize the bitmap as well. int iTopMost = 1000, iLeftMost = 1000; Image2->Canvas->Draw(100, 100, Image1->Picture->Graphic); // Extra code to change bitmap size. Image2->Picture->Bitmap->Width= iLeftMost + Image1->Width...
  9. Tremorblue

    Ansistring to widestring conversion.

    Thankyou for the help ! /Blue
  10. Tremorblue

    Ansistring to widestring conversion.

    I have a couple of functions that write ansistring to a file or to an internal buffer. I have been trying to figure out how to convert them to use widestring , can anyone help, Im stuck! I still need the internal buffer to stay as char. Thankyou. void __fastcall...
  11. Tremorblue

    Message Dialog

    I want to change the message dialog text for different localities. At the moment the text shows "OK" , "Yes" ,"No" or "Cancel" You don't get to enter the text .. ? The alternative is to create my own form that has these buttons and icons.. But I hoped there might be an easy way. /Blue
  12. Tremorblue

    Main menu font.

    Sorry I know you can set it via the Control Panel , Display Properties, Appearance, Advanced. But can it be setup programmatically ?
  13. Tremorblue

    Unicode.

    I had to store the file as UNICODE to get it to work. Then rewrite my routine for loading from ini files so that it could handle wide strings. e.g WideString __fastcall TFormDeveloper::GetProfilePieceWide(AnsiString aName,char*sLanguage,char *sFileName) { wchar_t...
  14. Tremorblue

    Main menu font.

    How do you change the main menu font ? I need to change it to "Arial Unicode MS" to work with these Unicode components from TMS Software. /TB
  15. Tremorblue

    Unicode.

    BCBv6.

Part and Inventory Search

Back
Top