Can you resize a hwnd to fit a web browser?

I have created a piece of code which takes the handle of the globe image in Google Earth and placed it within a web browser but I need to either shrink the hwnd of the image to a certain size of web browser or somehow zoom into the centre of the hwnd. Can anybody help?

Hi Paul Ellam,
can you explain a bit more please? Maybe you can show what you have done so far. You can't shrink a hwnd. It's a pointer to your image.
Mike

Similar Messages

  • Can you disable the status bar on a web browser from an applet?

    I have a signed applet and am using plugin 1.3.1_02 with IE 5.5. I use the showStatus("text") method to display pertinent information to the user in the browser's status bar.
    Currently I see all types of messages being displayed (in IE's status bar) as my applet communicates with the server. I would like to restrict what is shown in the status bar to show my system messages only.
    Can I filter what is displayed or disable status bar functionality programmatically from the applet? Or possibly with a browser/plugin setting?
    Thanks

    Hi,
    I think you can do that with Java to JavaScript communication.
    thanks,
    Srinivas.

  • Can you resize an existing 1024 x 768 presentation to 800 x 600?

    Can you resize an existing 1024 x 768 presentation to 800 x 600?

    Open the Inspector (blue i in the menu bar) and click on the Document tab in the upper left. At the bottom you can select a slide size from the drop-down menu, or specify your own size by selecting Custom...
    Everything you need is in the Inspector!

  • Can you resize

    Can you resize a photo, to a custom size, on Photoshop  touch for phone or tablet?

    using the "image size" option under the & button you can access a resize dialog.
    this dialog allows you to choose a new width and height in pixels, and gives you an option whether to maintain proportions.
    if you wish to resize an image without resizing the "canvas" this can be done using the "transform" option under the & button.

  • Can you resize a pic in iphoto?

    Wondering, can you resize a pic in iphoto? I didnt really see that option. I finally figured out that i had to click the "i" (information) icon to see the pic size, ex: 1240x526...that kind of thing. I was on a windows PC for the last 13 years and i would edit my pics in the paint program. I would take all pics and resize them to 50% both vertically and horizontally. I did this for 2 reasons, A.) i didnt need the monsterous file size for what i was doing. And, B.) to save space on the computer and the flash drive i saved my pics too. Id love to be able to do the same on my mac mini in iphoto....is it possible to resize in the fashion i described above, by precentage? Thanks so much. O

    http://www.macupdate.com/find/mac/collage
    I've used Posterino with good results.
    Regards
    TD

  • Text editing  - can you add text editing options on the 'in-browser editing'

    Text editing  - can you add text editing options on the 'in-browser editing' tool?

    You can only replace existing content, not edit the page structure. Refer to the respective help sections.
    Mylenium

  • How can you print 1-3 pages of a web document?

    I have an Ipad with a HP6500A Plus and can print. I have the eprint app loaded on the ipad. I need to be able to select the pages to print from a web page.
    This question was solved.
    View Solution.

    Hi fryemup,
    If you open the ePrint app and select "Web Browser" you are able to print multiple web pages from there, however if you are looking to print only certain pages of the web, ePrint Home and Biz does not currently support this feature.
    I was an HP employee.
    Reminder: Please select the "Accept as Solution" button on the post that best answers your question. Also, you may select the "Kudos" button on any helpful post to give that person a quick thanks.

  • Can you please record a video from a web cam with inital setting

    Can you please record a video from a web cam that has the
    following specs
    fps: 20
    bitrate: 1000
    Size: 500*400
    can we configure that in code or is it a webcam specs?

    QuickTime Player Pro can't record the screen.
    QuickTime X can record the screen (but only all of it and not just a window). It's a part of Snow Leopard.

  • (268625273) Q WSI-29 Can you give any performance benchmarks for WLS web services?

    Q<WSI-29> Can you give any performance benchmarks for WLS web services?
    A<WSI-29>: It is very difficult to quantify performance aspects of web services
    since they depend on so many variables including but not limited to: backend system
    processing by stateless session beans and message driven beans, size of XML SOAP
    message sent, system hardware (CPU speed, parallel processing, RAM speed) and
    system software (JVM type and version of WebLogic server). However, let me point
    out that the EJB backend processing of requests both have the best possible scalability
    within the EJB2.0 specification (both stateless session and message driven beans
    can be pooled) and servlets have a proven scalable track record. Thus it should
    be possible to scale your web service deployment to meet demand. The overhead
    in processing XML within the servlet can be significant depending on the size
    of XML data (either as a parameter or a return type). While WLS6.1 does not have
    any features to address this performance concern, WLS7.0 will feature Serializer
    and Deserializer classes which can be dedicated to the XML to Java and Java to
    XML translation (they can also be automatically be generated from a DTD, XML Schema
    or regular JavaBean).
    It is true that web services are not the fastest way to process client requests
    but BEA is committed to making WebLogic server the fastest possible service provider.
    Adam

    see http://www.oracle.com/support/products/oas/sparc30/html/ows08811.html

  • Can you receive live video from a tv web site on a ipad

    Can you receive live video from a tv web site on your iPad

    If the website you're viewing has HTML5 streaming, or an iPad-specific app, then yes. If the website uses Flash or Java or any "plug-in" technology, then no.

  • If I download google chrome can i still use safari as my main web browser

    If I download Google Chrome can I still use safari as my main web browser?

    Yes.
    Go to the Safari menu bar (top of your screen). Click Safari / Preferences then select the General tab.
    Select Safari from the pop up menu where you see:  Default web browser

  • How can I resize a JFrame ,to fit into the screen size

    I have a Jframe which has JPanel and JPanel contains lot of other components.JPanel size is 980,1400. when i use JFrame.show method jpanel goes beyond the screen size in length and I am not able to see the portion below the screen.How can I resize the JFrame so that JFrame and JPanel shrinks to fit into the screen size.I need this because I have a PRINT button at bottom of the JPanel.Thanks.

    Thank you for your reply.I tried with the following code as you have told.But the frame is still going beyond the screen.Can you please look into it and tell me whats wrong ?
    //public class PlayerRegForm extends javax.swing.JFrame implements Printable
    public static void main(String args[]) {
    PlayerRegForm prf = new PlayerRegForm();
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension frameSize = prf.getSize();
    if (frameSize.height > screenSize.height)
    frameSize.height = screenSize.height;
    if (frameSize.width > screenSize.width)
    frameSize.width = screenSize.width;
    System.out.println("Screen Size ----------------- " + screenSize);
    System.out.println(" Frame Size ----------------- " + frameSize);
    prf.setSize(frameSize.width, frameSize.height);
    prf.pack();
    prf.show();
    =============================================================================
    Screen Size ----------------- java.awt.Dimension[width=1024,height=768]
    Frame Size ----------------- java.awt.Dimension[width=112,height=28]

  • I am trying to send a file for a contest and my image is 2.7MB and they only want it 2MB how can I resize my image to fit ?????

    i am trying to send a picture on a pastel site for a contest and my image is 2.7MB........ they want it 2MB...how can I resize my photo to 2MB???? Pat....

    select the photo and export it (file menu ==> export) - there are several options for reducing the size including quality and maximum pixel dimension
    LN

  • How can I resize the size of the Excel web part?

    I have a spreadsheet that i want to use to populate a page in my SharePoint site.  i copied the workbook to the site, created the page and added the excel web part. then i linked the workbook to the web part and submitted.  it displays but only
    about 25% of the sheet shows. i dont want to use the thumbs to scroll inside the web part. i want the web part sized to show the entire spreadsheet.  cant seem to find how to size the web part. Can some kind soul help me out here.
    thanks

    Hi,
    According to your post, my understanding is that you wanted to resize the size of the Excel web part.
    Per my knowleadge, most of the time excel web parts turn out ugly, due to the fact that they’re rendered in an iframe and therefore the browser doesn’t resize the container to fit the content.
    As a workaround, we can edit the page where you want the resizing to happen, add in a content editor web part, and paste the following code into the source editor.
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () { // resizes excel webparts
    $("td[id^='MSOZoneCell_WebPart']").each (function (i, e) {
    var findIframe = $(e).find ("iframe:first");
    if (findIframe &amp;&amp; findIframe.attr ("scriptforiframecontent"))
    bindEwaLoaded ("#"+e.id);
    function bindEwaLoaded(obj) { // bind event to the web part
    $(obj).bind ("ewaLoaded", function (e) {
    var b = $(e.target).find ("iframe:first").attr ("postedbackalready");
    if (b == undefined) // loop until iframe is ready
    setTimeout (function() { $(e.target).trigger ("ewaLoaded"); }, 1000);
    else // try to resize now
    ewaSetSize (e.target);
    }).trigger ("ewaLoaded"); // first trigger now
    function ewaSetSize(obj) { // resize elements
    // configure paddings
    var excelObjectWidthPadding = 50;
    var excelObjectHeightPadding = 50.
    var w, h, div1, div2;
    var e = $(obj).find ("iframe:first").contents().find ("table.ewrnav-invisibletable-nopadding:last");
    if (e.length != 0) { // excel table
    w = e.width ();
    h = e.height ();
    div1 = $(obj).find ("table:first> tbody:first> tr:eq(1)> td> div> div");
    div2 = $(div1).find ("table:first> tbody:first> tr:eq(1)> td> div");
    } else {
    e = $(obj).find ("iframe:first").contents().find ("div.ewrchart-img-div");
    if (e.length != 0) { // excel chart
    w = e.width ();
    h = e.height ();
    div1 = $(obj).find ("table:first> tbody:first> tr:eq(0)> td> div> div");
    div2 = $(div1).find ("table:first> tbody:first> tr:eq(1)> td> div");
    if (w == 0 || w == undefined) { // loop until content is ready
    setTimeout (function() { ewaSetSize (obj); }, 1000);
    } else { // do resize
    w += excelObjectWidthPadding;
    h += excelObjectHeightPadding;
    div1.width (w);
    div2.height (h);
    </script>
    For more information:
    Automatically resizing Sharepoint Excel Web Parts
    JQuery for Everyone: Dynamically Sizing Excel Web Parts
    Dynamically re-sizing excel services webparts
    Thanks,
    Jason
    Jason Guo
    TechNet Community Support

  • Can you link text to an "Open in New Browser Window" behavior?

    Newbie here... the title asks the question. I know you can link an image in this way, but can you do it with text?

    Yeah.  The manner in which PDF files are handled depends on your end user's computer/browser settings, installed plug-ins, etc...  In some cases the PDF will launch in the browser window.  In other cases it may download to the user's hard drive or it may launch inside Acrobat (if they have it).  Too many unknown variables here...
    The best advice I can give you is to keep it simple.  Link directly to your PDF file and use target="_blank" to open it in a new window or tab.  And be nice to your site visitors, tell them it's a PDF file and approx. how big the file size is in KB.
    Link (PDF -- 250KB)
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

Maybe you are looking for

  • How do I use my laptop download of elements 10

    I recently had a hard drive crash on my desktop computer upon which I had installed elements 10,this drive had to be removed and scrapped and was replaced by the current HD on which I installed elements 10.At about the same time Installed elements 10

  • No multi-channel audio from DVD Player or Quicktime?

    I have the A52Codec 1.7.6 installed. The codec preferences are set to output multi-channel audio. I have my Audio MIDI setup speaker configuration setup for multi-channel audio and the speaker assignment tests are all perfect. VLC plays back files wi

  • Best MacBook Pro for video editing

    Any suggestions - I would like to purchase a MacBook Pro but I want to some video editing with it -which is the one to look at?  Thanks

  • Verion 000 and 001 is not tick mark  appearing

    Hi, Goto tcode  /sapapo/mvm or SAP Easy Access screen, choose mySAP Supply Chain Management ® Advanced Planning and Optimization ® Master Data ® Planning Version Management ® Model and Version Management. 1 ) My requirement is we have to get chk boxe

  • How to unlock a role in AC10.0

    Hello, In the process of creating a role, I sometimes experience a timeout session on the browser and that causes a lock on my role. I usually get the message: Role xxxxx is in locked mode. Where xxxxx is my role name. Please how do I unlock the role