Help!! TCppWebBrowser ,popup window and Cookie

c++ builder

    Sponsored Links

    Next

  • 1. Which exception could be thrown in TStrings::LoadFromLife/Save
    TMemo control has Lines property, which is of type TStrings. I wonder which exception types could LoadFromFile and SaveToFile throw? Thus far, these are obvious: EFOpenError EFCreateError EReadError EWriteError could LoadFromFile and SaveToFile throw any other exceptions? What would be the default messages of all those exceptions? (or how to find out what are those messages, what they saying?)
  • 2. Form not added in WinMain
    I wanted to use a sub-form that I had created for another application in my current app. So, I added the subform and its header file to the project and added SubForm->ShowModal(); in the appropriate place. The app compiled and link w/o complaint, but when run, it raised an access violation exception when it got to the aforementioned line of code. I looked around and found that the line of code I'd have expected in WinMain, e.g., Application->CreateForm(__classid(TSubForm), &SubForm); was not there. I've done this sort of thing several times before and never encountered this problem. When I manually added the line to WinMain, my app worked as expected. Anyone have an idea what's going on here?
  • 3. programmatically embedding a form within another form
    Hello, I am having a problem doing something which I thought would be fairly simple but has ended up being a bit more difficult than I anticipated. I have used the form designer within the IDE to design a simple form - no problem. I would now like to embed and position multiple instances of that form within another form (or panel) at run-time. I have tried new-ing the new subforms into existance and setting their Parent property to my desired container form similar to the following: TForm1::TForm1(TComponent* Owner) { TForm *form = new TMyForm(this); form->Parent = this; // Do some positioning. form = new TMyForm(this); form->Parent = this; // Do some positioning. } The main form (TForm1) appears but my two instances of TMyForm do not. Surely this is a common need but I have not found much help in the BCB documentation. Any insight or assistance would be much appreciated. Sincerely, Chris
  • 4. up/down sort glyphs in TDBGrid?
    Hello, by catching the OnTitleClick event of a TDBGrid I'm able to sort the underlying data. Now I want to inform the user with the well known small up and down glyphs in the title of the grid. I tried to use the OnDrawColumnCell event. The help says that the parameter State informs me if the actual cell is fixed, that means it belongs to the title row. But unfortunately only the drawing of the data cells trigger this event, not the drawing of the title cells. What is the easiest way of drawing glyphs in the title cells? Do I have to create my own component based on TCustomDBGrid? What are the next steps? Thanks, Thomas
  • 5. Program started from Autostart?
    Hello, from where does I know, if my program is started by Windows-start through Autostart-folder or it is started from anywhere? Thanks Martin

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
one(CppWebBrowser).

I appreciate any help!
Thanks in advance!

Cheng




Similar Threads:

1.help 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 22 guest