Help!! TCppWebBrowser ,popup window and Cookie

c++ builder

    Sponsored Links

    Next

  • 1. ListView number of lines viewed
    I have a ListView that can be rezisable. I need to know how much lines are visible. What is the way for getting this information ? Thanks. Sam
  • 2. Font size changes when I change font color
    I have a function which requires I reset the original font color at the end of the function. When I use the code DrawCanvas->Font->Color = (Graphics::TColor)OldFontColor; to reset the color the font size changes. I have been checking the font size using GetTextMetrics before this color change is made and again after. Why does this color change also change the font size? int OldFontColor; GetTextMetrics(hdc, Tm); TmHeight = Tm->tmHeight; TmAscent = Tm->tmAscent; DrawCanvas->Font->Color = (Graphics::TColor)OldFontColor; GetTextMetrics(hdc, Tm); TmHeight = Tm->tmHeight; TmAscent = Tm->tmAscent; Thanks Larry Johnson
  • 3. drag & drop things onto a form ?
    Hello, I have two questions about drag & drop: 1. I need to drag & drop an Internet shortcut onto my form, then add that URL into an internal array of strings. So, I need to get the URL string, how do I do that ? 2. Another thing I need is to be able to drag & drop a file onto a form. I only need the path and filename string, not the dropped object itself. Is this possible ? Thanks, Jim
  • 4. 2nd question: TStaticText
    I also wonder why the TStaticText cannot display its text anymore when it is resized to a size smaller than the text demands. I would prefer that the text be truncated, but now the StaticText control becomes empty, until I again resize the control to wider than needed for the text. Is there a property I can set to make the text be truncated instead of disappear? -- These StaticText controls are headers above columns in my application, and it looks so stupid to have a rather wide header field empty (just because its text is so long) between a small StaticText which happens to contain a shorter text as well. If the user sees the beginning of a longer text then he/she has at least a clue of its content and can resize if there is a desire to exactly read what the header says. But if you don't see a header, you don't expect to see more if you resize.
  • 5. Reading Font Style
    What is the syntax for reading the style property of a TFont object? I want to do something like if (Font.Style == fsBold) ... Regards, Bruce

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