Help!! TCppWebBrowser ,popup window and Cookie

c++ builder

    Sponsored Links


  • 1. TListview HideSelection and docking
    Hi all First of all let me explain the problem: When I dock a form which contains a listview (report style, hideselection=false) on a panel of another form, the selection of the listview gets lost olthough HideSelection is set to false. Why is that??? Some settings to reproduce my problem: - Create a new Application and add a second form. - Put a Panel on the mainform and set the panel property to DockSite=true. - Put a button on the mainform which will show a second form in the OnClick event (Form2->Show();) - Apply the following settings to the seond form: BorderStyle=bsToolWindow, DragKind=dkDock and DragMode=dmAutomatic. - Put a listview on the second form with ViewStyle=vsReport, HideSelection=false and add some items to the listview (you can do this in design time if you like). Don't forget to create a column first. Now run the program and click on the button of the first form to show the second form. It should appear :). Now select an item in the listview of the second form and drag the second form onto the panel of the mainform. Then dock the second form on the panel. Now my selection in the listview is gone!!! Any ideas how to solve this??? I'm using BCB5 under WinXP Thanks Karsten
  • 2. Makeing Application alway on top
    I have a need to force windows to always keep my full screen application on top of all other windows until closed. I can get it to work by using SetZOrder(true) but this only works for a short time then it allows stuff like alt+tab to bring other applications to the front. Will I have to make a timer and have that set the z-order every so often or is there a better way. thanks shannon
  • 3. Question on restoring dockable panels
    Hi, I have posted this question before. No one answered it before. Does anyone use dockable windows before? I have application that has a dockablesite. This dockablesite can have up to 5 dockable panels on it. I need to find a way to save whatever the users docked and restore the dockable windows next time when the users reopen the application. Thanks
  • 4. Generating button interrupt
    Hello, I need to modify an existing program not written by me. Pressing a button on the mainform displays a messagebox that does not stop a lowlevel comport thread. Now I want that low level comport thread to display that messagebox sometimes without stopping that thread. I do not want to get deep into that code. How do I generate/simulate an OnClick interrupt event from the low level comportthread for that mainform button? Or is that not allowed? (Just calling the OnClick event stops the comport thread) greetings Henk
  • 5. Tab button does not work in MDIChild forms
    Hello, I have a problem with MDIChild forms. When I show an MDIChild form from a DLL, pressing the Tab button has no effect. When I build the my project with run-time libraries, Tab button works well in MDIChild forms. Unfortunately, when I built my project withOUT run-time libraries, pressing the Tab button has no effect in MDIChild forms. Furthermore, I can not catch VK_TAB in KeyDown event. Any suggestions? -Best regards. -Yavuz

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