Help!! TCppWebBrowser ,popup window and Cookie

c++ builder

    Sponsored Links


  • 1. Read, edit and send webpages
    Hello I want to do a little application that reads a specified htlm page (https) then i want to change some indata programatically and then send the webpage back to where it came from. Does anyone have any idea, any examples or other hints? I will be grateful for any help. Regards, Johan
  • 2. IsNumber syntax
    Hi, The user enter a value of a purchase in Edit2 and then it gets posted in a DB. I need to make sure that the user enters a number and not character and most importanly I want to make sure the value has one decimat point or comma (no 3..4 or 3,4 when the system is using '.' as a decimal point) I use the following code to test short isNumber(char *str) { while (*str) { if (!isdigit(*str) && *str != '.' && *str != '-') return false; str++; } return true; } String s=Edit2->Text; if (isNumber(s.c_str())) {Edit1->Text="Real Number";} else {Edit1->Text="character";} But the code does not detect multiple '.' or if the user is entering ',' when Windows regional settings are set to ',' as decimal point instead of '.' I checked the help and found the function "ISNUMBER" but I get "undefined function" when I compile....what file should I include for all Caps function? thanks Rob
  • 3. TDrawGrid question
    Dear all, In a form, I want to make a table of different components. The first column will be for the row number not modifiable by the user, the second column will have CheckBox components, the third column and the other will have Edit components, which the text could be modifiable. The first row will be different too since it will be the detail of the column. Is it a good idea to regroup all these components (Edits and CheckBoxes) in a TDrawGrid ? Has TDrawGrid been done to do things like this ? TStringGrid would have been ok to me if I didn't have to use CheckBoxes, but it is not the case. If so, what do I have to do first to go forward with this component ? Thanks, A. Fleury
  • 4. Resizing a form
    I am trying to automatically resize a form. The form gets created at runtime, but is hidden until required. The form can only be resized by the program (to contain an image) so I need the form to resize. However I can't find a way of forcing it to resize bar destroying it and recreating it. I was contemplating using the Win32 MoveWindow() function call but I thought I'd ask here to see if anyone can suggest a solution. Graham Reeds.
  • 5. OnKeyDown: Why is period character 190 rather than 48?
    In the OnKeyDown event I expect that if I type the '.' period character I'll get a Key value of 0x2e or 48. Instead it is 190. Why is that? Also, single quote is 222 decimal. Again, I expect the much smaller number of 0x27 or 39 decimal. What is causing this difference? Running BCB v6 sp4 on Win2k.

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