术语 | setprocessdefaultlayout |
释义 | SetProcessDefaultLayout 语法: BOOL SetProcessDefaultLayout( DWORD dwDefaultLayout ); SetProcessDefaultLayout功能 该SetProcessDefaultLayout函数更改默认布局当车窗,没有父母或所有者只创建了当前正在运行的进程。 参数 dwDefaultLayout [in]默认进程布局。此参数可以是一个或多个下列值。 LAYOUT_RTL 设置默认的横向布局,是从右到左。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。 备注 如何布局指定的文本和图形的布局,默认是从左向右。该SetProcessDefaultLayout功能改变布局,是从右到左,这是在阿拉伯文和希伯来文的文化标准。 一旦选中LAYOUT_RTL国旗,国旗,通常指定向右或向左是颠倒的。为了避免混淆,考虑界定标准,例如旗帜下表中的,替代字词。 标准flagSuggested备用名称 WS_EX_RIGHTWS_EX_TRAILING WS_EX_RTLREADINGWS_EX_REVERSEREADING WS_EX_LEFTSCROLLBARWS_EX_LEADSCROLLBAR ES_LEFTES_LEAD ES_RIGHTES_TRAIL EC_LEFTMARGINEC_LEADMARGIN EC_RIGHTMARGINEC_TRAILMARGIN 如果使用的是镜像的窗口,请注意SetProcessDefaultLayout函数没有反映整个过程,所有的设备上下文(DC)章决定设立这个功能。它反映只有反映窗口的区议会。镜像任何DC,使用SetLayout功能。 功能信息 最低DLL版本 user32.dll 在Winuser.h中HeaderDeclared,头文件:winuser.h import libraryUser32.lib 最低经营systemsWindows 98时,Windows 2000 参见 视窗概述,GetProcessDefaultLayout,SetLayout ==英文原文==SetProcessDefaultLayout Function The SetProcessDefaultLayout function changes the default layout when windows are created with no parent or owner only for the currently running process. Syntax BOOL SetProcessDefaultLayout( DWORD dwDefaultLayout ); Parameters dwDefaultLayout [in] Default process layout. This parameter can be one or more of the following values. LAYOUT_RTL Sets the default horizontal layout to be right to left. Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError . Remarks The layout specifies how text and graphics are laid out; the default is left to right. The SetProcessDefaultLayout function changes layout to be right to left, which is the standard in Arabic and Hebrew cultures. Once the LAYOUT_RTL flag is selected, flags normally specifying right or left are reversed. To avoid confusion, consider defining alternate words for standard flags, such as those in the following table. Standard flagSuggested alternate name WS_EX_RIGHTWS_EX_TRAILING WS_EX_RTLREADINGWS_EX_REVERSEREADING WS_EX_LEFTSCROLLBARWS_EX_LEADSCROLLBAR ES_LEFTES_LEAD ES_RIGHTES_TRAIL EC_LEFTMARGINEC_LEADMARGIN EC_RIGHTMARGINEC_TRAILMARGIN If using this function with a mirrored window, note that the SetProcessDefaultLayout function does not mirror the whole process and all the device context (DC)s created in it. It mirrors only the mirrored window's DCs. To mirror any DC, use the SetLayout function. Function Information Minimum DLL Versionuser32.dll HeaderDeclared in Winuser.h, include Windows.h Import libraryUser32.lib Minimum operating systemsWindows 98, Windows 2000 See Also Windows Overview , GetProcessDefaultLayout , SetLayout ==原始网址==http://msdn.microsoft.com/en-us/library/ms633542(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。