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.
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??
I wrote application using dll library. Both dll and app are using functions from vcl library. Is there any way to put vcl library in package and order both app and library to use this package instead enclosing it two times. If not are there any other ways to decrease size of executable code...
I wrote a program using hook(it doesn't matter is this keyboard hook or message hook or else) which works perfectly until I don't want to capture all messeges or key events in system. It works only when identifier of the thread with which the hook procedure is to be associated is HInstance. But...
I need to write programm which can catch every key press or mouse event in windows. Friend told me that I can use something called Hook but I can't find how it works. Please help me?
Can anybody tell me why this code after terminating app gives me an exception EAccessViolation.
void __fastcall TForm1::Button1Click(TObject *Sender)
{
LPMALLOC as;
String APath="C:\\asd.txt";
LPSHELLFOLDER lpsf,lpssf;
LPENUMIDLIST lpenumidlist;
LPITEMIDLIST lpidl=NULL...
I need to know how can i connect my application with file extension. In short I need to now how to open graphic file in my app just clicking on file icon. Thanks for help.
Hi. I've got a small problem. I want to open png file. I wrote a programme using TOpenDialog(it works perfectly) But when I use TOpenPictureDialog it shows me exception EInvalidGraphic. Can anybody tell me how to repair this!
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.