Help!! TCppWebBrowser ,popup window and Cookie

c++ builder

    Sponsored Links


  • 1. handle the Yes No and Cancel of a dialog box
    b wrote: > .... alert box ... Could you provide the exact description/function you are using ? Hans.
  • 2. how save in a stream file an Array?
    i have an array (int LArray[24]), i set int value for all the cells, now i want save it inside a real file, i must use this: std::auto_ptr<TFileStream>EncStream(new TFileStream(fileNameProject, fmCreate)); so i place at ->position = 0; and doing: ->Write(LArray, sizeof(LArray)); or ->Write(&LArray, sizeof(LArray)); i write nothing inside the file, why? what is the correct form? then how can open this file putting this values inside a new array with the same dimension?
  • 3. How to terminate an application properly?
    Dear all, I posted this message a month before and am still having a headache. In the FormCreate event I check some conditions. If any of those failed I intend to terminate the application. In the FormCreate I coded: void __fastcall TFormMain::FormCreate(TObject *Sender) { : if(GetIniSettings() == false) { Application->Terminate(); return; } else { sl_head = (struct element *) 0; sl_tail = (struct element *) 0; if(!construct_sync_list(schd_sync_time_str)) { Application->Terminate(); return; } } file_status = ChkLogFileExist(); if(file_status < 1) { Application->Terminate(); return; } : } The failed conditions, say, construct_sync_list() returns false cannot terminate the application. The FormShow event occurs after the FormCreate returns. What the proper sequence should be to terminate the app? Many thanks, Patrick.
  • 4. Login Form before MDIForm.
    Cash Albatros wrote: > Hii All, > > I want to make a MDIForm and its Childs. > but before they run i want to run a login form. > > But when i did this, always a problem appears. Well, you could have told what you tried already. Go to WinMain() and construct your loginform dynamically and use ShowModal(). Do this before the mainform is created. After your LoginForm closes determine if you continue or terminate the application. Hans.
  • 5. StringList Objects
    JD wrote: > I'd like to use the objects property to just hold some ints > that I can use at runtime But I'm uncertain how to: > > Assign the object value after the list has been loaded. > Get the int out to use it. > How to (if I need to) delete the objects when finished. int myint = 333; StringList->Objects[22] = (TObject*)myint; ..... int myint = (int) StringList->Objects[22]; If you assign int's to these pointers you don't have to delete anything; Hans.

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