请教一下,我在程序中用CreateStatic(this, 1, 2)分割了窗口,然后又用CreateView,如果我想在程序中把左侧子窗口隐藏了(宽度设为0),或者恢复回来,请问怎么实现。
解决方案 »
- 拖放(Drag & Drop)功能的实现,如何做?
- 请教:主程序为什么回很卡
- 各位大哥救救我啊,串口 0x00 发不过去,谢谢!
- wsarecvfrom
- 如何避免死等消息
- 关于com和com+互调的问题
- 怎样在DLL中知道调用都的窗口并向它发送消息???
- 我把对话框里面的一个类变量改成类指针,在需要的时候new然后delete,原以为耗内存会减少,,没想到反而增加~!!
- 救救我,谁有对发到本地计算机的IP包进行分析的源代码!
- 编译SDK Dll时出错, error LNK2005: _DllMain@12 already defined in ComStub.obj
- 哪位高手可以知道如何自动注册OCX控件?
- 如何在ms flexgrid控件的单元格中实现字体的上下标格式,UP有分!
HWND hWnd, // handle to window
int X, // horizontal position
int Y, // vertical position
int nWidth, // width // HERE...
int nHeight, // height
BOOL bRepaint // repaint flag
);
MoveWindow(
HWND hWnd, // handle to window
int X, // horizontal position
int Y, // vertical position
int nWidth, // width // HERE...
int nHeight, // height
BOOL bRepaint // repaint flag
);
HWND hWnd, // handle to window
int X, // horizontal position
int Y, // vertical position
int nWidth, // width // HERE...
int nHeight, // height
BOOL bRepaint // repaint flag
);SetWindowPos
MoveWindow()
都可以
SetWindowPos();
The both can be!!
leftview->ShowWindow(SW_HIDE);//隐藏
leftview->ShowWindow(SW_RESTORE);//还原
rightview->ShowWindow(SW_MAXIMAZE);//
---------------------------------------------------
移动窗口和改变位置可以使用:
MoveWindow();
SetWindowPos();
HWND hWnd, // handle to window
int X, // horizontal position
int Y, // vertical position
int nWidth, // width // HERE...
int nHeight, // height
BOOL bRepaint // repaint flag
);