Help!! TCppWebBrowser ,popup window and Cookie

c++ builder

    Sponsored Links

    Next

  • 1. TService Question
    Hi, Can someone tell me how (or if possible) to get a service to start when a user (or any user) logs on, and stop when the user logs off? Is this configured by the Service Control Manager only and not part of the components properties? Paul
  • 2. TExcelWorksheet->Cells Help Please
    I am having a lot of problems trying to use the TExcelApplication, Workbook and Worksheet. After many googles, trial and errors and keyboard punching, I have managed to get to the point where I can launch Excel, add a work book and add several work sheets. I have also been able to paste data into the work sheet. I now get to the point of adding data to the individual cells. Reading Delphi examples it looks like all I need is: MyExcelWorkSheet->Cells[Row, Col]->Value = MyValue; However, I get am ambiguity error between 'RangePtr::operator Range *() const' and 'RangePtr::operator bool() const'. I have spent two days on this now and need to get on with other projects. Any Ideas? Any good FAQ's or books on the use of the TExcelApplication? I may also need to more help with TWordApplication, TAccessApplication and TOutlookApplication soon. TIA, Andrew
  • 3. Reading lines from TListBox
    Hi, I am scanning throught the lines of a ListBox using the following:- char acLine[128]; int uiPos = 0; strcpy(acLine,ListBox2->Items->Strings[uiPos].c_str()); I am indexing uiPos after I have done what I want with the line, but if uiPos points to a line beyond the number of lines in the ListBox, it is changed from its set value to be zero. What is the best way to avoid this happening? Thanks, David Ayre
  • 4. How to determine flag values?
    I would like to determine what flag values are set in properties such as TFont::Style. Can you help me?
  • 5. Suggestion to assign text to HttpMemoFilter (3rd party) component
    I've used CGI Expert (which is written in Delphi) successfully for a couple of years. Please note that I use the mentioned Delphi component in my C++ Builder IDE, and I'm simply trying to assign text to an HttpMemoFilter programatically instead of clicking on the components Text property and pasting the code there. IMPORTANT: The Text property appears to be a TStringList, and when pressed from the IDE it opens a 'String List Editor' dialog where you paste your html into. This is my code snippet: // read text file into a list TStringList *oList = new TStringList(); oList->LoadFromFile( "whatever.txt" ); // assign text to component - COMPILER ERROR! HttpMemoFilter1->Text = oList->Text; The error is: Cannot convert AnsiString to TStringList. In fact, I can't even assign text as follows: HttpMemoFilter1->Text = "what the heck is going on"; The error here is: cannot convert char * to TStringList. Any suggestions would be greatly appreciated. Thank you

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