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...
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...
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...
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...
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...
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
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...
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(
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?
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?
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);
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?
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...
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?
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.