Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - SetWindowRgn
Search - SetWindowRgn - List
创建异形窗体函数 SetWindowRgn 放到合适的位置,别让拖动窗体改变大小时出现用做 MASK 的紫色区域;再者与大家分享不指定窗体风格 WS_THICKFRAME(对于对话框,相当指定其属性 Border 为 Resizing ),用代码实现窗体拖放,任意改变其尺寸。
Update : 2008-10-13 Size : 117.91kb Publisher : li

2007新的一年即将来临,新版本的QQ估计也要跟我们相见。在此献上本人写于8月份的一个练习程序。主要是希望腾讯做界面的同志能否把创建异形窗体函数 SetWindowRgn 放到合适的位置,别让拖动窗体改变大小时出现用做 MASK 的紫色区域;再者与大家分享不指定窗体风格 WS_THICKFRAME(对于对话框,相当指定其属性 Border 为 Resizing ),用代码实现窗体拖放,任意改变其尺寸。
Update : 2008-10-13 Size : 6.1mb Publisher : ds

创建异形窗体函数 SetWindowRgn 放到合适的位置,别让拖动窗体改变大小时出现用做 MASK 的紫色区域;再者与大家分享不指定窗体风格 WS_THICKFRAME(对于对话框,相当指定其属性 Border 为 Resizing ),用代码实现窗体拖放,任意改变其尺寸。 -SetWindowRgn function to create special-shaped form on the right position, Do not change the size of form drag occurs when MASK used to do the purple region In addition to share with you do not specify a form style WS_THICKFRAME (for the dialog box, specify its properties rather Border for Resizing), using drag and drop code form, arbitrary change its size.
Update : 2025-02-17 Size : 118kb Publisher : li

2007新的一年即将来临,新版本的QQ估计也要跟我们相见。在此献上本人写于8月份的一个练习程序。主要是希望腾讯做界面的同志能否把创建异形窗体函数 SetWindowRgn 放到合适的位置,别让拖动窗体改变大小时出现用做 MASK 的紫色区域;再者与大家分享不指定窗体风格 WS_THICKFRAME(对于对话框,相当指定其属性 Border 为 Resizing ),用代码实现窗体拖放,任意改变其尺寸。-2007 new year is approaching, a new version of QQ is estimated also to meet with us. In this stage, I was written in August, a practice procedures. Its main aim was to make the interface Tencent comrades whether the creation of special-shaped form on a suitable function SetWindowRgn position, Do not change the size of form drag occurs when MASK used to do the purple region In addition to share with you do not specify a form style WS_THICKFRAME (for the dialog box, specify its properties rather Border to Resizing), using drag and drop code form, arbitrary change its size.
Update : 2025-02-17 Size : 11.07mb Publisher : ds

这个类可以插入到任何一个程序当中,它提供一个统一的接口,接口函数接收图象的资源索引号、长、宽3个参数。当然,你也可以加上一个父窗口的指针参数,用来决定该类对象Create行为,便于指定该图象代表的窗口应该依附在哪个父窗口之上。 编写这个类需要熟悉对CRgn类的运用。如成员函数CombineRgn和SetWindowRgn,具体信息请查阅msdn。 那么好,下面我们来一步步创建这个类。 -This class can be inserted into any one of these procedures, it provides a unified interface, interface function to receive image resources index number, length, width 3 parameters. Of course, you can also add a parent window pointer parameter, used to determine the type of object Create behavior, to facilitate the designation of the representative images in which the window should be dependent on the parent window. The preparation of this type need to be familiar with the use of CRgn category. Member functions such as CombineRgn and SetWindowRgn, specific information please refer to msdn. Well, well, let' s step by step to create this category.
Update : 2025-02-17 Size : 24kb Publisher : 高军

DL : 0
此代码在程序中制作不规则程序窗口的源码.-SetWindowRgn(Handle,WndRgn,true) SetWindowPos(Handle,HWND_TOP,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE)
Update : 2025-02-17 Size : 749kb Publisher : duanrui

不规则图形窗体编程,利用SetWindowRgn()函数进行简单程序编制,一个很好的示例-Form irregular graphics programming, using SetWindowRgn () function for simple programming, a good sample
Update : 2025-02-17 Size : 99kb Publisher : 杨勤

本程序通过MediaPlayer控件对象来播放MP3文件,还使用了SetWindowRgn函数制作漂亮外观。-This program controls the object through the MediaPlayer to play MP3 files, also used the SetWindowRgn function produced a beautiful appearance.
Update : 2025-02-17 Size : 64kb Publisher : Jonny

一个用SetWindowRgn生成不规则图形控制的源程序!-SetWindowRgn generate an irregular graph with source control!
Update : 2025-02-17 Size : 27kb Publisher : tq88

2010新的一年即将来临,新版本的QQ估计也要跟我们相见。在此献上本人写于8月份的一个练习程序。主要是希望腾讯做界面的同志能否把创建异形窗体函数 SetWindowRgn 放到合适的位置,别让拖动窗体改变大小时出现用做 MASK 的紫色区域;再者与大家分享不指定窗体风格 WS_THICKFRAME(对于对话框,相当指定其属性 Border 为 Resizing ),用代码实现窗体拖放,任意改变其尺寸-2010 new year is approaching, a new version of QQ is estimated that also involve negotiations with us meet. This was written in August, I presented an exercise program. Mainly because I wanted to do the interface Tencent comrades can put a function to create special-shaped form SetWindowRgn into the right position, do not let you drag the form to change the size of the MASK used when the purple areas Also to share with you do not specify the form style WS_THICKFRAME (for the dialog box, specify the properties Border quite as Resizing), drag and drop in code to achieve the form, any change in the size
Update : 2025-02-17 Size : 357kb Publisher : nbm

API 绘制任意多边形窗体 运用到SetWindowRgn、CreatePolygonRgn 、shape-Drawing an arbitrary polygon form by API
Update : 2025-02-17 Size : 12kb Publisher : Hephaestus.D

如何实现不规则窗口。利用位图来确定窗口的区域及使用SetWindowRgn方法设置窗口的区域-How to implement a irregular window.use bitmap to obtain the region of a window and use SetWindowRgn method to set the region of a window.
Update : 2025-02-17 Size : 13kb Publisher : Israel

图形窗口 用delphi进行窗口外观设计-Graphics window
Update : 2025-02-17 Size : 4kb Publisher : haochuan

通过MediaPlayer控件对象播放Mp3文件。使用SetWindowRgn函数,使窗体呈现不规则形状。-Mp3 player through the MediaPlayer control object file. Use SetWindowRgn function, so that form irregular shapes.
Update : 2025-02-17 Size : 64kb Publisher : 刘倩

实现了窗体置顶,透明,移动,以及不规则窗体。-Realize the form stickies, transparent, move, and irregular form.
Update : 2025-02-17 Size : 3.78mb Publisher : panpan

实现VB MouseLeave功能: 函数CreateRoundRectRgn用于创建一个圆角矩形,该矩形由X1,Y1-X2,Y2确定,   并由X3,Y3确定的椭圆描述圆角弧度   CreateRoundRectRgn参数 类型及说明   X1,Y1 Long,矩形左上角的X,Y坐标   X2,Y2 Long,矩形右下角的X,Y坐标   X3 Long,圆角椭圆的宽。其范围从0(没有圆角)到矩形宽(全圆)   Y3 Long,圆角椭圆的高。其范围从0(没有圆角)到矩形高(全圆)   SetWindowRgn用于将CreateRoundRectRgn创建的圆角区域赋给窗体   DeleteObject用于将CreateRoundRectRgn创建的区域删除,这是必要的,否则不必要的占用电脑内存。-Realize the function of MouseLeave in VB Environment.
Update : 2025-02-17 Size : 180kb Publisher : Jerry Huang

不规则按钮制作例子,主要使用SetWindowRgn来实现。-Non-production basis Rules button Reik
Update : 2025-02-17 Size : 162kb Publisher :

使用了新的SDK函数SetWindowRgn。该函数将绘画和鼠标消息限定在窗口的一个指定的区域,实际上使窗口成为指定的不规则形状,给出了设计思路和代码实现。-Using the new SDK function SetWindowRgn. This function limits the drawing and mouse messages to a specified area of the window, actually making the window a specified irregular shape, giving the design idea and code implementation.
Update : 2025-02-17 Size : 4kb Publisher : 田魁

A small sample showing how to create a non-rectangular window. Windows provides an API called SetWindowRgn() that makes it easy for applications to create irregularly shaped windows. Then you need to catch the WM_NCHITTEST, WM_NCACTIVATE and WM_NCPAINT Windows messages to paint your own window background and control the mouse clicks.
Update : 2025-02-17 Size : 24kb Publisher : Soheyl
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.