VB 版 (精华区)

发信人: yzhao (勺子), 信区: VB
标  题: Re: 能不能在屏幕指定位置打开word ?
发信站: 哈工大紫丁香 (2000年11月27日12:14:45 星期一), 站内信件

当然用api的
BOOL MoveWindow(
  HWND hWnd,      // handle to window
  int X,          // horizontal position
  int Y,          // vertical position
  int nWidth,     // width
  int nHeight,    // height
  BOOL bRepaint   // repaint flag
);
不过先搞到hWnd,
当然用
HWND FindWindow(
  LPCTSTR lpClassName,  // pointer to class name
  LPCTSTR lpWindowName  // pointer to window name
);
不过给我个理由先,why you must put word to the special position
on the screen?

 

【 在 cameran (竹晨) 的大作中提到: 】
: 那么如何移呢?
: 【 在 terminate (混沌初开) 的大作中提到: 】
: : 可以呀。现将word打开但不显示,然后将此窗口移动到指定的坐标。在显示出来不就可以了吗?


--
----------------
 生活才刚刚开始 
                

※ 来源:·哈工大紫丁香 bbs.hit.edu.cn·[FROM: insun.hit.edu.cn]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:3.154毫秒