Help!! TCppWebBrowser ,popup window and Cookie

c++ builder

    Sponsored Links


  • 1. viewing cout output in a Windows application ?
    Hi I am trying to keep my source modules as independent of Windows as possible to enhance portability. Suppose I have used the standard output statement in these modules ( often for say diagnostic purposes) and with no #include <vcl.h> to maintain independence. eg: cout << x; If I have included such modules in a non-console Windows application, is there a standard vcl component/method that I can use to view the stdout window containing this output ? Thanks for any tips John
  • 2. A sample using Excell and Delphi 5
    Hi, Does anybody have a sample that creates an Excell WorkSheet using Delphi 5 without using a third part component? Regards, Marcello Dias
  • 3. how to show a progress bar for a function..?
    hi dear builders, I use a function to sort mannnnny lines in a Memo... my question is, is it possible to display a progress bar like TGauge that shows how many percent of to whole operation left...? If yes, how can I do that...? I never done something similar to this.. Oren /****************************************************************/ void __fastcall TForm1::cmdSort_LinesClick(TObject *Sender) { Memo1->Lines->BeginUpdate(); TStringList *sList = new TStringList; try { Screen->Cursor = crHourGlass; TStringList *sList = new TStringList; sList->Sorted = true; sList->Duplicates = dupAccept; sList->AddStrings(Memo1->Lines); Memo1->Lines->Assign(sList); } __finally { Memo1->Lines->EndUpdate(); Screen->Cursor = crDefault; delete sList; } }
  • 4. Strange bug...reversing a stringlist and than inserting a linenumber...(Repost = Wrong Group)
    hi dear builders, can someone help me with optimizing the below code...? when I first reverse the content of Memo via this: /***************************************************************/ void __fastcall TfrmStringDetails::cmdText_ReverseClick(TObject *Sender) { AnsiString temp = Memo1->Text; strrev(temp.c_str()); Application->ProcessMessages(); Memo1->Text = temp; } /***************************************************************/ and than insert a line number for each line with this: /***************************************************************/ void __fastcall TfrmStringDetails::cmdLine_NumbersClick(TObject *Sender) { for(int i = 0; i < Memo1->Lines->Count; i++) { Memo1->Lines->Strings[i] = String(i + 1) + ".) " + Memo1->Lines->Strings[i]; int LineCount = Memo1->Lines->Count; Memo1->Lines->Strings[i] = Memo1->Lines->Strings[i] + "\r\n"; if(Memo1->Lines->Count > LineCount) Memo1->Lines->Delete(i + 1); } } /***************************************************************/ my programm want stop to insert the line numbers...(endless loop...) but why ?? can someone help and take a look on the code...? Oren

Help!! TCppWebBrowser ,popup window and Cookie

Postby Cheng » Fri, 05 Sep 2003 09:32:08 GMT

I set up a CppWebBrowser in my software. It acts as a IE and woks fine.
But If It needs to popup a new window with cookie after clicking related
button inside the CppWebBrowser. It works differently from using IE. It
seems the new popup windows's session is different from the origal

I appreciate any help!
Thanks in advance!


Similar Threads: about downloading with session and cookie support at windows application

2.Stop TCPPWebBrowser Javascript Popup

3.TCppWebBrowser Popup Menu Clipboard Copy Operation

The right-click popup menu contains Copy and Select all, which appear to be
supported in that they are enabled and disabled appropriately when text is
selected.  However, Copy does not change the contents of the Clipboard.  Any
ideas how to get this to work, or how to remove the non-functional items from
the menu?

4.Popup window (actually slide up window like AOL/Trillian)

Does anybody have any code to do the kind of status window where the window 
slides up from the bottom displays for a few seconds and then disappears?

I found it for MFC but not C#.

TIA - Jeff.

5.Popup menus and windows move behind app window in XP

All first-level popup windows, whether they be right-click menus, "What's 
this" context popups, drop-down selection boxes, are disappearing behind the 
application window or dialog box being displayed a second or two after being 
displayed.  This behavior is limited to Windows XP and never happens when out 
product is used with Windows 2000.  Sometimes the windows do not disappear.  
When they do, it is only the portion of the window that overlays our 
application window or a dialog being displaying.  It is as if the application 
window or dialog is being redrawn and the order of which window is topmost is 
changed.  Even though the window is drawn behind the frame it overlays, all 
items are still selectable so the popup itemis still on top, but its image 
has been drawn behind.

Our application presents as a floating toolbar and does have the topmost 
flag set so that it never disappears behind other applications.  (It is used 
in concert with other applications and must be visible at all times.)  It can 
also be docked as an AppBar to the top and bottom of the screen.  Docking 
does not change the aberrant behavior of the popup items.

Is anyone aware of a difference between Windows 2000 and XP that would 
explain the bad behavior under XP?  Again, we have no such problems with 
Windows 2000.  Any suggestions for the cause and especially a work-around 
would be greatly appreciated.

6. Newbie Cookie Question - Cookie Not Saved

7. Correct way to copy cookies between Indy cookie managers

8. Cookies just vanishing/dropping/resetting - help!

Return to c++ builder


Who is online

Users browsing this forum: No registered users and 53 guest