CRect rect;
GetClientRect(rect);
GetClientRect(rect);
解决方案 »
- InstallShield乱码问题
- 多线程向子窗口发送数据问题,高手进!
- 搜狗浏览器,一个普通用户的感受
- C/C++/VC/.NET交流群,31297706
- 我在ATL中用了_com_util::ConvertBSTRToString,然后realese minisize中编译就出错
- 程序如何得到“SQL数据库的数据被修改”的即时通知??
- 如何利用post来提交一个数据库查询请求呢?
- ADO带参数删除数据失败,ADO插入数据失败,怎么解决。100分相送(不够再加)
- --请问怎样用VC写COM的接口,才可以使之在VB或脚本中使用???
- 急救,那位好心人有Media Encode SDK编程资料 100分!!!!
- 提问
- 小妹刚接触VC++一天,要交毕业设计报告,请大侠帮帮忙,急!!!
HWND hWnd, // handle to window
int X, // horizontal position
int Y, // vertical position
int nWidth, // width
int nHeight, // height
BOOL bRepaint // repaint option
);
Parameters
hWnd
[in] Handle to the window.
X
[in] Specifies the new position of the left side of the window.
Y
[in] Specifies the new position of the top of the window.
nWidth
[in] Specifies the new width of the window.
nHeight
[in] Specifies the new height of the window.
bRepaint
[in] Specifies whether the window is to be repainted. If this parameter is TRUE, the window receives a WM_PAINT message. If the parameter is FALSE, no repainting of any kind occurs. This applies to the client area, the nonclient area (including the title bar and scroll bars), and any part of the parent window uncovered as a result of moving a child window.
{ cs.hMenu = NULL;//如将hMenu设置为0刚窗口会固定
cs.x=8;
cs.y=8;
cs.cx=GetSystemMetrics(SM_CXFULLSCREEN);
cs.cy=GetSystemMetrics(SM_CYFULLSCREEN)+50;
if( !CFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs return TRUE;
}(SM_CYFULLSCREEN)+50;