Thanks for the replies however I have just found out that you can actually load acrobat within a CppWebBrowser component, doesnt work exactly as I wanted which was to show a PDF with no options/menu however this method is nice and simple so it will be good enough.
Is it possible to show a Acrobat document within a form? I do believe it is but I can't get passed the stage of even getting the component/ocx installed! Ideally I want to be able to dock a version 8 document but a 5,6 or 7 version would also be acceptable if need be.
Many thanks.
I'am using DeleteNode(Node) to remove a folder and its contents from a tree, it works perfectly however when the folder is deleted I get a Windows MessageBox asking "are you sure you want to remove the folder..." I wish to avoid this MessageBox from appearing, any ideas???
Well about 5 minutes after putting up this post I found the answer which is really simple but I didnt notice it staring me right in the face for all you people out there also having the same problem (if any at all) here is the answer:
Reg->WriteInteger("FileTypes", 16);
//"FileType" being the...
Can anyone help me to make a REG_DWORD registry entry. I'am quite cable of creating a REG_SZ and a REG_BINARY using the following methods:
TRegistry *Reg = new TRegistry;
Reg->RootKey = HKEY_CLASSES_ROOT; // Set the root key to HKEY_CLASSES_ROOT
int Buffer = 65536;
Reg->OpenKey(".ggc", true)...
you know its always the simple things that work the best, and your method BuilderSpec works a treat and I dont know why i didnt think of that myself. thanks.
Can someone please put me out of my misery! I cannot for the life work the following problem out.
Basically I would like to take an entered value from a TextBox (a string value) and convert it to a float! Simple! I know, but what happens if the user enters a non-digit expression...
Ok i've found the answer to my problem, and its so simple its embarassing, but for any other numpties like myself here is the solution.
if (Application->MessageBox("test", "tes",MB_YESNO|MB_ICONQUESTION|MB_DEFBUTTON2) == IDYES|MB_TOPMOST)
{
}
As you can see above all I have had to add is |MB_TOPMOST
Created a very simple message box as follows.
if (Application->MessageBox("test", "tes",MB_YESNO|MB_ICONQUESTION|MB_DEFBUTTON2) == IDYES)
{
}
code works fine but i need for the message box to be " Always On Top ", now I know i could just create my own form to act as a message box but it would...
I need to find a way of converting a caption in the following format 45.45.45 to its decimal equivalent which is in this case its 45.7625.
Now the formula goes:
A = degrees
B = minutes
C = seconds
A + (B * 1/60) + (C * 1/60 * 1/60)
Any help would be much appreciated!
I have a data currently loaded in to a StringGrid, does anyone know how I can sort this data. For example the Grid has 3 columns (Name, Date, Time) and I need the ability to sort by the 3 columns whilst keep the data appended to its original string.
Thanks for looking.
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.