您的位置:程序门 -> vc/mfc -> 进程/线程/dll



大家帮帮忙啊!这问题能不能做出来,怎么做……


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


大家帮帮忙啊!这问题能不能做出来,怎么做……[已结贴,结贴人:n_escafe]
发表于:2007-08-31 18:27:39 楼主
主程序是文档/视图结构;视图基类是cformview
如何把在dll中定义的视图帖到主程序的视图上
发表于:2007-08-31 23:37:161楼 得分:25
movewindow
发表于:2007-09-01 02:00:182楼 得分:25
这个方法很多啊。比如把dll视图做为一个刷子。返回到你当前的视图上
发表于:2007-09-05 14:14:283楼 得分:25
做一个mfc扩展dll,导出视图.
发表于:2007-09-05 14:51:254楼 得分:25
setwindowpos
the   setwindowpos   function   changes   the   size,   position,   and   z   order   of   a   child,   pop-up,   or   top-level   window.   child,   pop-up,   and   top-level   windows   are   ordered   according   to   their   appearance   on   the   screen.   the   topmost   window   receives   the   highest   rank   and   is   the   first   window   in   the   z   order.  

bool   setwindowpos(
    hwnd   hwnd,                           //   handle   to   window
    hwnd   hwndinsertafter,     //   placement-order   handle
    int   x,                                   //   horizontal   position
    int   y,                                   //   vertical   position
    int   cx,                                 //   width
    int   cy,                                 //   height
    uint   uflags                         //   window-positioning   options
);


快速检索

最新资讯
热门点击