易语言 API 函数的参数值看不懂,大哥大姐帮帮忙

如何填写这里的uFlags参数它这里列出的值都是文字,并不是数字?我要怎么传递参数BOOLSetWindowPos(HWNDhWnd,//handleofwindowHW... 如何填写这里的uFlags参数 它这里列出的值都是文字,并不是数字? 我要怎么传递参数
BOOL SetWindowPos(

HWND hWnd, // handle of window
HWND hWndInsertAfter, // placement-order handle
int X, // horizontal position
int Y, // vertical position
int cx, // width
int cy, // height
UINT uFlags // window-positioning flags
);

Parameters

hWnd

uFlags

Specifies the window sizing and positioning flags. This parameter can be a combination of the following values:

Value Meaning
SWP_DRAWFRAME Draws a frame (defined in the window's class description) around the window.
SWP_FRAMECHANGED Sends a WM_NCCALCSIZE message to the window, even if the window's size is not being changed. If this flag is not specified, WM_NCCALCSIZE is sent only when the window's size is being changed.
SWP_HIDEWINDOW Hides the window.
SWP_NOACTIVATE Does not activate the window. If this flag is not set, the window is activated and moved to the top of either the topmost or non-topmost group (depending on the setting of the hWndInsertAfter parameter).
SWP_NOCOPYBITS Discards the entire contents of the client area. If this flag is not specified, the valid contents of the client area are saved and copied back into the client area after the window is sized or repositioned.
SWP_NOMOVE Retains the current position (ignores the X and Y parameters).
SWP_NOOWNERZORDER Does not change the owner window's position in the Z order.
SWP_NOREDRAW Does not redraw changes. If this flag is set, 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 the window being moved. When this flag is set, the application must explicitly invalidate or redraw any parts of the window and parent window that need redrawing.
SWP_NOREPOSITION Same as the SWP_NOOWNERZORDER flag.
SWP_NOSENDCHANGING Prevents the window from receiving the WM_WINDOWPOSCHANGING message.
SWP_NOSIZE Retains the current size (ignores the cx and cy parameters).
SWP_NOZORDER Retains the current Z order (ignores the hWndInsertAfter parameter).
SWP_SHOWWINDOW
比如我要传递SWP_SHOWWINDOW 这个值是多少?
展开
 我来答
司马桀
2010-12-04
知道答主
回答量:9
采纳率:0%
帮助的人:0
展开全部
"SWP_SHOWWINDOW"这些你所说的"文字"是常量 每个都有相对应的常量值
比如这个"SWP_SHOWWINDOW"的常量值就是64
查询常量值可以使用"彗星小助手"、"FoxAPI"等工具查询,生僻的常量可以直接在搜索引擎里搜索“const 常量”获得
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式