是按了F11的那个全屏,不是最大化,我想用Postmessage,但是我用的是ShellExecute打开IE窗口,无法得到这个IE窗口的句柄。

解决方案 »

  1.   

    WinExec('D:\Program Files\Internet Explorer\IEXPLORE.EXE',SW_MAXIMIZE);
    第一个参数是具体的路径
      

  2.   

    其中最简单的是带参数,带参数~~
    具体我也忘记了,我只记得有一个nohome:
    Tweak Tip: Control IE With Command-Line Switches
          Make Internet Explorer behave your way.
     
    By Joshua Brentano and Josh Lawrence
      Printer-friendly format
     Email this story 
     
     
     
    You too can take control of Internet Explorer with a few simple command-line switches. If you have IE 4.0 or later, you can take advantage of these by doing the following: Click on the start menu. Click on Run. In the text box, type "iexplore.exe" followed by a space and one of the following switches (for example, "iexplore.exe -e" or "iexplore.exe - channelband") and press return.The switches: 
    -e 
    This starts IE in Explorer mode with the split pane view, so you can browse your computer's directory on the left, and look at Web or hard drive content on the right. -channelband 
    This opens up IE as a desktop toolbar, with the current channels directory displayed, if you're interested in surfing via Web channels. Note: This switch only works if active desktop is off. -nohome 
    Starts IE without loading any webpage. -new 
    Start up a new instance of IE (same as double-clicking the IE icon on your desktop). -slf 
    Starts IE and loads your homepage from the cache (as opposed to updating your homepage as it usually does). -k 
    Starts IE in Kiosk mode (full screen mode meant for demos and such, when you need to use a keyboard, only a mouse).That's it -- have fun. Posted August 20, 2001 
     
    应该不只这些~
      

  3.   

    SW_MAXIMIZE是最大化,不是全屏。
      

  4.   

    关注一下下^_*我想的是,在另一个form上放一个WebBrowser,让这个WebBrowser全屏就可以了呀
      

  5.   

    Iexplore.exe -k www.263.net 实现了全屏,banxian(曾半仙)的方法^_*