Almost all pages don't want to open corectly or don't want at all, please help, I need to solve uncoding
file-new page
file save page
and so
download ofkors
please give me some examples of doing this just a few one
thanks
this is the code:
//----------------------------------------------------------------------------
//Broko Browser Created by Someone(SmartPortal)
//----------------------------------------------------------------------------
//---------------------------------------------------------------------------
#include <vcl\vcl.h>
#pragma hdrstop
#include "main.h"
#include "DocSrc.h"
//---------------------------------------------------------------------------
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::HTML1EndRetrieval(TObject *Sender)
{
CancelBtn->Enabled = True;
}
//---------------------------------------------------------------------
void __fastcall TForm1::HTML1BeginRetrieval(TObject *Sender)
{
CancelBtn->Enabled = True;
}
//---------------------------------------------------------------------
void __fastcall TForm1::Exit1Click(TObject *Sender)
{
Close();
}
//---------------------------------------------------------------------
void __fastcall TForm1::DocumentSource1Click(TObject *Sender)
{
DocSourceFrm->Show();
DocSourceFrm->Memo1->Lines->Clear();
DocSourceFrm->Memo1->Lines->Add(HTML1->SourceText);
DocSourceFrm->Memo1->SelStart = 0;
SendMessage((HWND)DocSourceFrm->Memo1->Handle, EM_SCROLLCARET, 0, 0);
}
//---------------------------------------------------------------------
void __fastcall TForm1::CancelBtnClick(TObject *Sender)
{
HTML1->Cancel("test");
CancelBtn->Enabled = True;
}
//---------------------------------------------------------------------
void __fastcall TForm1::GoButtonClick(TObject *Sender)
{
if(URLs->Items->IndexOf(URLs->Text) == -1 )
URLs->Items->Add(URLs->Text);
HTML1->RequestDoc(URLs->Text);
Statusbar1->Panels->Items[0]->Text = HTML1->RequestURL;
}
//---------------------------------------------------------------------
void __fastcall TForm1::URLsKeyPress(TObject *Sender, Char &Key)
{
if(Key == VK_RETURN) GoButtonClick(Sender);
}
//---------------------------------------------------------------------


