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 TouchToneTommy 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 unbornchikken

  1. unbornchikken

    syntax problem. Sets and enums.Delphi component in c++Builder

    I see that the TEsMachineInfoSet is a customized template class from Set. So CreateMachineID method wants class parameter, not sum of two enums. The correct code is: CreateMachineID(TEsMachineInfoSet() << midUser << midSystem); Look online help for using templates and pure C++ classes...
  2. unbornchikken

    I WANT TO READ PIXELS IN A JPG IMAGE, HOW CAN I DO IT?

    N here is the sample: TJPEGImage * sumjpg=new TJPEGImage; Graphics::TBitmap * sumbmp=new Graphics::TBitmap; try { sumjpg->LoadFromFile("c:\\pamelaanderson.jpg"); sumbmp->Assign(sumjpg); //Add yer code here (to draw bigger tits for ex.)...
  3. unbornchikken

    HotTrack?

    Check : thread101-713274 [COLOR=blue]unbornchikken
  4. unbornchikken

    Change cursor when over TImage (and restore when exit TImage).

    Sorry, i've ****ed it up. Here is the correct code: void __fastcall TMyHitOutComponent::SetPointedControl(TControl * value) { if (_PointedControl!=value) { DWORD Coords=(Mouse->CursorPos.y<<16) | Mouse->CursorPos.x; TControl * prevcontrol=_PointedControl...
  5. unbornchikken

    Change cursor when over TImage (and restore when exit TImage).

    Hi all! Consider that you can write a simple component. It based on TTimer and have an important property called PointedControl. The Timer event should check the control that mouse points, and set it to PointedComponent property. Header fragment: . . . private: TTimer * Timer; TControl...
  6. unbornchikken

    shape segmentation

    Whaddaya mean &quot;shape segmentation&quot;? Could you explain it, please? [COLOR=blue]unbornchikken
  7. unbornchikken

    Smaller apps

    Hi! Using RAD tools like Builder/Delphi gonna costs some. If ya wanna build smaller apps, you should create pure Windows API application. Try console wizard... [COLOR=blue]unbornchikken
  8. unbornchikken

    Retrieving file name without extension

    Hi! Here is my code: AnsiString __fastcall WithoutFileExt(AnsiString fn) { int dp=fn.Length(); while (dp!=0 && fn[dp]!='.') dp--; if (dp) return fn.SubString(1,dp-1); return fn; } [COLOR=blue]unbornchikken
  9. unbornchikken

    help with Mediaplayer object

    Hi! Answers: 1) Now i´m trying to implement a trackbar. For this i use the TrackBar object (is there any other better?). In the timer function i put something like this (to move the trackbar slider with the video): TackBar->Position=MediaPlayer->Position*100/MediaPlayer->Length; And in the...
  10. unbornchikken

    WINXP HOME and ACTIVEX

    Try Tools menu item-Internet Settings-Security tab-Custom Level button-Allow ActiveX controls to run:Enabled... Sorry but i have a Hungarian IE 6.0 so the menus may have different names (but something like that). [COLOR=blue]unbornchikken
  11. unbornchikken

    Visual C++ and DirectShow

    Yes. That was the wisest choice. You should download the DirectX 8 or 8.1 or 9 SDK from Microsoft. Check the DirectShow section. There are almost everything that you need for media programming. There are a tonns of example program and program fragment also. Good luck, [COLOR=blue]unbornchikken
  12. unbornchikken

    From 2D to 3D???

    Hi! Better check it out in the tutorial. See modelling techniques section. There are 3 examples that will be helpfull. [COLOR=blue]unbornchikken
  13. unbornchikken

    Adding Delphi component to C++ Builder 5

    Whlie you don't get an &quot;Unsupported language feature&quot; message... :)) [COLOR=blue]unbornchikken
  14. unbornchikken

    problems with WinExec

    Hail! The first thing you need is the path of the excel.exe. If this is not in the path environment variable this will not run. Check the FindExecutable API function. After this you should use CreateProcess and WaitForSingleObject. The code: //AnsiString FileName - hold the...
  15. unbornchikken

    3ds4 to windows xp

    U should install C-Dilla Licence Management System 4 Windows XP to do that. unbornchikken

Part and Inventory Search

Back
Top