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 dominochmiel

  1. dominochmiel

    Stringgrid problems with cell width

    Thanks for help.
  2. dominochmiel

    Stringgrid problems with cell width

    I'm using StringGrid. My problem is to fill up cells with long strings. I don't know how to check which string is to long for the cell. In other words I don't know how to check string width. If somebody could help I would be very grateful.
  3. dominochmiel

    Conversion of RGB2HLS and back using scanline

    Look at http://semmix.pl/color/extrans/etr50.htm. Good luck!!
  4. dominochmiel

    Accessing All Files in a given Directory...

    You can also use FindFirstFile,FindNextFile and FindFirstFileEx. Good luck!!
  5. dominochmiel

    Command Button text ?

    You can use for it TBitBtn component. You must clear BitBtn caption, set BitBtn->Glyph->Canvas width and height to required size. Next draw on it using functions like TextOut or TextRect. By this you can make as much lines as you want. Other, easiest but not economic way is to write your text in...
  6. dominochmiel

    flashing the task bar

    If you are using Form->Handle you cannot flash taskbar icon. If you want do it you must use Application->Handle in parameter pf.hwnd. I think that for flashing both easiest way is to call out FlashWindowEx two times. One with Form1->Handle and second with Application->Handle. Good luck!!
  7. dominochmiel

    link mailto

    I was thinking about creating three labels and using central as link. It's very easy and you don't have any problems with seting up look of it. Of course if you want you can do it all in one label using GetFontMetrics function but it isn't working perfectly and changing look of one word to link...
  8. dominochmiel

    link mailto

    As Supernat03 said there are better ways to resolve this problem. To send a mail you can use ShellOpen function. Just copy my code to label OnClick event and change font property to liken it to hyperlink. //--------------------------------------------------------- String s...
  9. dominochmiel

    How to move items in ListView?

    I think that this code should solve your problem. I'm not sure is this what you want but you can always change that sample :) int SelItem; //--------------------------------------------------------------------------- void __fastcall TForm1::ListBox1MouseDown(TObject *Sender, TMouseButton...
  10. dominochmiel

    TThread

    Oops. I found solution. You can always make your own functions in ThreadClass and call them from main unit.
  11. dominochmiel

    TThread

    I'm developing a multi thread application and I don't know is there any other way to send params to thread than constructor. Can I send params to thread while he is working??
  12. dominochmiel

    TImage with "new"...

    Below is a short sample. "this" is a pointer to the object for which the function is called. TImage *im; //----------- void __fastcall TForm1::FormCreate(TObject *Sender) { im=new TImage(this); } //--------------------------------------------------------- void __fastcall...
  13. dominochmiel

    compile error with shlobj.h

    I don't know what caused this problem but if you want to avoid it you must add at beginning of cpp file this: #define NO_WIN32_LEAN_AND_MEAN I'm sure it will work.
  14. dominochmiel

    Killing connection

    I don't think about my tcp/ip connection. I'm thinking about killing connection created by windows(connection not just one port).
  15. dominochmiel

    Killing connection

    I want to kill internet connection by using my app. Is there any way to do it. Hilfe bitte;

Part and Inventory Search

Back
Top