Help!! TCppWebBrowser ,popup window and Cookie

c++ builder

    Sponsored Links


  • 1. Blocking Sockets - How do I stop them freezing the app?
    Hi, I using this loop to iterate through a subnet of 254 hosts. netpart = "172.16.0."; for(i =1; i <= 254; i++) { try { Powersock->Disconnect() ipaddr = netpart + Ansistring(i); ProgressBar1->Position = (i/254) * 100; Powersock->Host = ipaddr; Powersock->Connect(); } } catch(...) The problem is that the Progress bar will not update until the loop has finished executing. I have tried Application->ProcesMessage(), Invalidate(), Update(), Repaint(), InvalidateRect.... - But nothing works. Anyone got any ideas as to what I might try next? Im using BCB6 Enterprise on XP, BTW. Thanks Trev
  • 2. Calculated Field ?
    Hello, I want have a column in DBGrid that show row number, for do this create CalcField in Table and wrote OnCalcFields : /---------------------------------------------------------------------------- void __fastcall TFormDM::TableCalcFields(TDataSet *DataSet) { TableCalcField->Value = DataSet->RecNo; } /---------------------------------------------------------------------------- But if call First or Last method that row show -1 ? Why ? How can correct this ? Best Regards, M.T
  • 3. Componet for Multimedia Messaging Service
    Hi all, does any of you know where can I find Component (or ActiveX) for Multimedia Messaging Service ? Thanks in advance Regards Agus
  • 4. Form Showing!!!
    The following code doesn't work. if (!Form4->Showing) { Form4->Show(); Form4->Active=false; } Does anyone know how i can call a form to show but in non active mode?
  • 5. TOpenDialog and TSaveDialog
    My program uses TOpenDialog and TSaveDialog The user opens and saves some files. I want that my program remembers the last open/save folder. I'm thinking about saving the last folder in an .ini file and assigning the last folder to OpenDialog->InitialDir and SaveDialog1->InitialDir when my program starts. But OpenDialog1 and SaveDialog1 seem to remember the last folder automatically. At first, I thought there is a single common "Last Folder" for all programs in the operating system, but there isn't. For example, I open a file in the "c:\abc" folder with my program and then exit the program. Then I open a file in the "c:\xyz" folder with NotePad. After closing NotePad, then, I open my program ,execute OpenDialog1->Execute() and OpenDialog1 opens the"c:\abc" folder, not the "c:\xyz" folder. What is the mechanism? The Registry? I don't write anything to registry. How does know Windows which program opened which folder? Should I use an .ini file to save the last folder? Do TOpenDialog and TSaveDialog already what I need? Thanks...

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