你尽可以自己作,简单极了!
首先你的确定做成什么样子的,用CreateaRgn...创建你想要的形状.
然后将按钮(其实可以是任意窗体)设置成该形状.SetWindowRgn(...).
首先你的确定做成什么样子的,用CreateaRgn...创建你想要的形状.
然后将按钮(其实可以是任意窗体)设置成该形状.SetWindowRgn(...).
解决方案 »
- 刚学DELPHI,想问个问题~~~会的请进
- 窗体移出 Time的靠边
- 如何 动态创建 菜单???
- 请教:怎样用ADOQuery连接带密码的Access数据库?
- 谁做过COM或DCOM这方面的?能帮帮我吗?
- 如何将两个表中的数据在同一个报表中输出?急!!!!
- 救命呀!!!5555.....怎样利用windows下的中断???
- 关于QUERY1的问题
- Delphi之Socket编程问题:请求的名称有效并且在数据库中找到。但是tavola没有相关的数据来被解析
- 请教一下TComboBox的使用?
- 我有一个字段为Money型(后台数据库为SQLServer),我想在DBGRid中显示'$'符号。
- 如何使windows"开始"菜单中的"运行"选项看不到或不能使用?
具体点好吗?一定给分
具体点好吗?一定给分
createargn..??????
setwindowrgn??????????
The following functions are used with regions.
CombineRgn
CreateEllipticRgn
CreateEllipticRgnIndirect
CreatePolygonRgn
CreatePolyPolygonRgn
CreateRectRgn
CreateRectRgnIndirect
CreateRoundRectRgn
EqualRgn
ExtCreateRegion
FillRgn
FrameRgn
GetPolyFillMode
GetRegionData
GetRgnBox
InvertRgn
OffsetRgn
PaintRgn
PtInRegion
RectInRegion
SetPolyFillMode
SetRectRgn
SetWindowRgn
The SetWindowRgn function sets the window region of a window. The window region determines the area within the window where the system permits drawing. The system does not display any portion of a window that lies outside of the window region int SetWindowRgn(
HWND hWnd, // handle to window whose window region is to be set
HRGN hRgn, // handle to region
BOOL bRedraw // window redraw flag
);
Parameters
hWnd
Handle to the window whose window region is to be set.
hRgn
Handle to a region. The function sets the window region of the window to this region.
If hRgn is NULL, the function sets the window region to NULL. bRedraw
Boolean value that specifies whether the system redraws the window after setting the window region. If bRedraw is TRUE, the system does so; otherwise, it does not.
Typically, you set bRedraw to TRUE if the window is visible.
按Ask100(问题)的方法是可以,问题是区域是矩形的