Help!! TCppWebBrowser ,popup window and Cookie

c++ builder

    Sponsored Links


  • 1. DFM information <curiosity> what's in them?
    > I am curious what is packed in a DFM file. > Is there any documentation on > there format and what is in them? Just use any text editor (NotePad, WordPad, or Builder's) and open it. You will see the design-time settings for appropriate form in a very intuitive and easy to understand way. Try to select some components on a form, or all of them, then CTRL+C & CTRL+V in your text editor and you'll see the way (format) the controls are copied to some other place (form) if needed. You can even use any Search & Replace app to make some changes to DFM (For example: Search for: 'MS Sans Serif' and Replace with: 'Arial' ). Best regards, Vladimir Stefanovic
  • 2. QReport draw line on Detail Band
    Hello everybody, I want to draw a line on the Detail Band of a QReport.How is this possible? I use the following code to draw a line HDC hdc = GetDC(DetailBand1->Handle); TCanvas* tc = new TCanvas(); tc->Handle = hdc; tc->MoveTo( 10 ,10); tc->LineTo(100,10); ReleaseDC(hdc,DetailBand1->Handle); During QReport->Preview the line disappears. Any help? Thanks in advance
  • 3. How to get TComboBox list to drop down automatically.
    Hi, I am making an editor, in which I have a TComboBox Combo1 which has the list of all the files user has opened. The user can click on the down arrow to see the list of the files open and select the one he wants to view in the editor window. I have a button called "split." When the user clicks on split, I want Combo1's list to drop down automatically (without the user clicking the down arrow), so the user can click on a file from the list which will aslo be seen by splitting the editor window in two. Can some one tell me HOW I can get the list in Combo1 to drop down automatically when the user clicks on split? thanks, Veebo
  • 4. Dynamic TButtons
    Hi I am have created a series of Dynamic Buttons; all with the same OnClick function. However I need find out which button was selected in the OnClick function. Does anyone know how for (k = 0; k < max; k++) { fred = new TButton(Main->ScrollBox); fred->Left = 30; fred->Top = 30 + l*60; fred->Width = 150; fred->Height = 18; fred->Enabled = true; fred->Visible = true; fred->OnClick = Main->MyOnClick; name_string = "Tbutton"; name_string += k; fred->tag = k; fred->Name = name_string; } void __fastcall TMain::MyOnClick(TObject *Sender) { int k; //k = MyOnClick->Tag; This don't work } Tks Peter
  • 5. Set the column width of the ListView
    My ListView Object has 2 columns. When I increase the ListView 's column width in the Form Editor and then run the program, there is no width change Also, I can't find any column width related property in the ListView How can I do it?

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