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!

Search results for query: *

  • Users: Leroy1981
  • Content: Threads
  • Order by date
  1. Leroy1981

    Constructing Forms Within TPropertyEditor Derived Classses

    I playing with property editors and trying to get a form to display when the property edit button is clicked in the object inspector. I can't figure out what to send to the form's constructor as a parent. Is it something found in TApplication? Can I only use forms with component editors? Or do...
  2. Leroy1981

    Property and Component Editor Info

    I am tinkering with property editors and comonent editors for my custom components and I plan to use complex dialogs for editing certain properties and components as whole. I already know how to override Edit() but I seem to be having difficulty getting the dialog box to work right. Right now I...
  3. Leroy1981

    Several Questions about Component Creation

    I have several questions about component creation 1.How do I overload the +-/* operators for components? I tried ComponentName __fastcall operator+(ComponentName Value); ComponentName* __fastcall operator+(ComponentName* Value); ComponentName& __fastcall operator+(ComponentName& Value); But...
  4. Leroy1981

    Changes to components code don't take effect

    I have a project group that contains a package with a component i am building as one project and an empty form project for testing. Everything was going fine switching between these projects but now the changes I make to the component don't show up in the test project. I rebuilt both project...
  5. Leroy1981

    TreeView Component creation problem

    I am creating my own treeview component but when i try branch add more than 4 nodes off the root node I get a weird error that sometimes shuts C++ Builder down. When I go to build the package that this component is in, I get an access violation in vcl50.bpl or borlandmm.dll right when I click...
  6. Leroy1981

    Have to reinstall stuff all the time

    I'm not positive it's a problem with the operating system but for certain software I have to reinstall it when I turn my computer back on. Some examples are: Kazaa, 3D Studio Max, Blasterball 2 Revolution
  7. Leroy1981

    Question about 16-bit waveform audio data

    I can convert an 8-bit audio sample to an int no problem. But I store the wave data in an array of BYTEs so a 16-bit sample consists of 2 separate BYTEs. I tried to take these BYTEs and memcpy them into a WORD since it's the same size as the two and cast it to int but I get values like 64,292...
  8. Leroy1981

    Runtime TOpenDialogs

    I am building a component that has an open dialog available for use. the declaration in the header: TOpenDialog* Fileloader; in the components constructor: Fileloader=new TOpenDialog; i get this compile time error for some reason Could not find a match for TOpenDialog::TOpenDialog(
  9. Leroy1981

    Question about pointers and arrays

    I have a tree component that keeps all its branches in one array and each branch contains pointers to its children in the array. But what if I insert a branch into the array do I have to reset all pointers that point to branches higher in the array?
  10. Leroy1981

    Dragging part of a picture

    I have Microsoft's Picture It! software and it allows you to grab a point on a picture and drag it around. Does anyone here know how I might be able to accomplish this myself?
  11. Leroy1981

    TImage Question

    Does anyone know if it's possible to manually specify the pixels in a TImage instead of loading from file. Like a function something like SetPixel(int x,int y,TColor Color);
  12. Leroy1981

    Canvas flickers when lines are drawn

    I am using the main form's canvas to draw on it using Canvas->MoveTo(X,Y) & Canvas->LineTo(X,Y) to draw lines but it flickers for some reason
  13. Leroy1981

    TMemo Transparency?

    Does anyone know a straight forward way to make it so you can see the text in a TMemo and make the background invisible?
  14. Leroy1981

    TMemo Question

    Does anyone know how I might get ahold of the TCanvas of a TMemo component. All I really need is to be able to check the pixels.
  15. Leroy1981

    Start Menu/Control Panel

    Does anyone know how add your program to the start menu and make it show up on the "Remove Programs" section of the control panel?
  16. Leroy1981

    Enterprise vs. Standard

    I bought C++ Builder 5 a while ago because I was too poor to afford the Enterprise edition. I'm curious to know exactly what I'm missing out on. Does anyone know the difference between versions that can summarize it for me?
  17. Leroy1981

    Recursion and stack overflow

    I have a function that calls itself several times before finishing. This function needs to call itself thousands of times but i the stack isn't big enough so i get a stack overflow error. I know it's possible to increase the stack size but i want to find another solution. the purpose of the...
  18. Leroy1981

    Drive Letters

    How would i find out which letter is assigned to a computer's hard drive or cd-rom.
  19. Leroy1981

    new shuts down program

    On a couple of projects I had the program unexpectedly shut down with no message or anything. I traced it to a line of code that was using new to allocate memory. Any suggestions?
  20. Leroy1981

    Member functions as callbacks

    When I try to use a typical function as a callback everything works fine but if i try it with a member function of a class that has the same return type and parameter list i get a cannot cast from (classname::) (function parameters) to (function parameters). the borland error code is e2031 if...

Part and Inventory Search

Back
Top