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 bkrike 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 mironto

  1. mironto

    Custom Hints

    there's no problem in calling the function for hint, but what I need is the canvas for drawing the hint on. Since the hint must "float" over all components of the form and even overlap the font, I cannot use canvas from any component on the form but to create my own canvas. The question is how.
  2. mironto

    Custom Hints

    I would like to draw my own hits for the application. How can I acquire some "canvas" or other drawing surface on which I could output my custom hints instead of the default ones?
  3. mironto

    Copy to clipboard international characters

    I'd like to copy some text to clipboard with this code: TClipboard *Clipboard; Clipboard = new TClipboard; Clipboard->Open(); Clipboard->Clear(); AnsiString TextToClipboard; TextToClipboard = "blablalba"; //here goes text to copy Clipboard->AsText = TextToClipboard...
  4. mironto

    help with Mediaplayer object

    First of all, don't use mediaplayer from builder, it sucks. Import ActiveX Windows Media Player and use it instead (Component->Import ActiveX Control...).
  5. mironto

    Hide application from task manager WinXP

    I'm trying to write and application that will be hidden from task manager (won't appear in task bar + will not be visible when switching with ALT+TAB). On internet I found this example WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { DWORD dwExStyle = GetWindowLong(Application->Handle...
  6. mironto

    How to get to codec properties in imported WMP?

    I imported ActiveX component Windows Media Player into Builder C++ and implemented it in my application. Now I weant to access the properties of codecs used during playing, but not through the default right-click menu that I can enable in WMP properties but through my own code. Any idea how?
  7. mironto

    TTimer reset

    Thanks for your suggestions, but I found another solution. I can reset TTimer by disabling and subsequently enabling it - and that's all I need for my autosave feature. Very simple and don't know why didn't I come up with this in the first place ;-)
  8. mironto

    TTimer reset

    I am planning to program autosave feature in my application and I'm planning using TTimer for saving period. Can I retrieve the time tiil OnTimer event occurs and can I reset the timer so it starts counting from beginning? (I need this because when user presses "manual" save button, I...
  9. mironto

    StringGrid in edit mode

    I'd like to control behavior of StringGrid once it's in editing mode: is it possible to access properties like SelLength, SelStart (or some equivalent for them) etc? I want to for example insert text at cursor in cell or to edit selected portion of text (add some tags from both sides and so on).
  10. mironto

    Possible to integrate Word's spellchecking?

    I'm wondering, if it's possible to use dictionary and spellchecking from Microsoft Office applications in my app programmed in C++ like I've seen in some other programs?
  11. mironto

    Possible to integrate Word's spellchecking?

    I'm wondering, if it's possible to use dictionary and spellchecking from Microsoft Office applications in my app programmed in Builder like I've seen in some other programs?
  12. mironto

    where to get some documentation on WindowsMediaPlayer

    Hi, I decided to replace Borland's MediaPlayer with Windows' one in my project. I imported it through activeX, but I'm lacking any info on the player. Where can I get some documentation describing the player's variables, functions, methods? I need properties that are equivalent to Borland's...
  13. mironto

    How do I set a fix Index for an item at TreeView.

    you have to get the handle for item "Resource" and add child to it. that can be done through property TTreeView->Selected. if you want to set some fix index to TTreeNode, you can do it through void* Data, but you have to overcast it to int. then you go through all nodes in treeview and...
  14. mironto

    How to save form's canvas into image file

    Thanks! It worked really well!!!!
  15. mironto

    How to save form's canvas into image file

    I'd like to save a copy of form's canvas into image file, but I don't need the whole canvas, only part of it. I tried this: Graphics::TBitmap* Bitmap=Form1->GetFormImage(); Bitmap->SaveToFile("a.bmp"); but this grabs the whole canvas. Is there a way to either get only a part of...

Part and Inventory Search

Back
Top