Help!! TCppWebBrowser ,popup window and Cookie

c++ builder

    Sponsored Links


  • 1. BCB6, VCL for serial communication
    Hi, is there any recommendation of working third-party VCLs for serial communication? TIA Regards Michael
  • 2. rename dir
    Hello, I need a function to rename directory in c++ builder 6 Can I use "rename"? Andrea Biasi Italy
  • 3. problem with CRLF's & Tabs and if(RichEdit1->Text.Trim().Length() == 0)
    dear builders, i've got a function that deletes (inside RichEdit1->Text) from pos (x) count (x)... Now when the RichEdit1->Text is *empty* that means INCLUDING spaces & tabs, i want to show a ShowMessage(..) i've inserted only pure CRLF's inside the RichEdit->Text so the following failed: if(RichEdit1->Text.Trim().Length() == 0) of course it's correct, because there is no *graphical* text, only the CRLF's..So my question now is: do i need to call here: StringReplace(RichEdit1->Text, "\r\n", "", TReplaceFlags() << rfReplaceAll); and than: if(RichEdit1->Text.Trim().Length() == 0) ShowMessage("*empty*") or does someone have a better suggestion..? Oren
    Hello NG, I'd imported an activex control (ESRI MO 2.2) into a TMap component. This component have a AfterTrackingLayerDraw event whose handler is defined in this way: AfterTrackingLayerDraw(TObject *Sender, OLE_HANDLE hDC) { .... } Since I need to draw polygons and lines over the canvas of this component I asked ESRI clarification about that and they stated that it's possible using the hDC handle by Windows API calls... which APIs are they meaning? Which functions/methods I have to use? Which chapter of the Borland C++ User Manual describe that? -- bye by(t)e[z]....TuX!
  • 5. Create a new project with an existing one...
    I have a projext proj1.bpr and have just created another one out of this and named it proj2.bpr. The exe-file is created, but this proj2 fails to run. Is there anything I am missing? Thanks Harp

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 65 guest