C language function:FrameRgn sample codes

Search sample code in the internet.It is the result.


TITLE : CreatePolygonRgn function (Windows)
BOOL FrameRgn(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/dd144839(v=vs.85).aspx


TITLE : c++ - How to draw border in a non rectangular window in MFC - Stack Overflow
dc.FrameRgn(&m_rgnShape, &brush, 2, 2);.......
http://stackoverflow.com/questions/16302234/how-to-draw-border-in-a-non-rectangular-window-in-mfc
TITLE : c++ - How to draw border in a non rectangular window in MFC - Stack Overflow
What this basically means is that you can't then go and use the region for another purpose, and you also can't "lose" the region. As it's a member variable, this last issue isn't a problem you need to worry about. But regarding the "do not use it" part, you will notice that the FrameRgn(...) call most likely returned zero, indicating the failure when trying to draw........
http://stackoverflow.com/questions/16302234/how-to-draw-border-in-a-non-rectangular-window-in-mfc
TITLE : 【PB】PowerBuilder API Site
FUNCTION ulong FrameRgn(ulong hdc,ulong hRgn,ulong hBrush,ulong nWidth,ulong nHeight) LIBRARY "gdi32.dll".......
http://www.360doc.com/content/13/0216/20/11408198_266000549.shtml
TITLE : [Solved] Creating border in non rectangular window - CodeProject
dc.FrameRgn(&m_rgnShape, &brush, 2, 2);.......
http://www.codeproject.com/Questions/585788/Creatingplusborderplusinplusnonplusrectangularplus
TITLE : Delphi XE10 Round Image
FrameRgn(Canvas.Handle,frgn,Canvas.Brush.Handle,2,2);.......
http://www.experts-exchange.com/questions/28965139/Delphi-XE10-Round-Image.html
TITLE : SetWindowRgn
dc.FrameRgn(&rgn, &br, ::GetSystemMetrics(SM_CXBORDER), ::GetSystemMetrics(SM_CYBORDER)); // [5].......
http://www.flounder.com/setwindowrgn.htm
search Google

https://www.google.com/#q=FrameRgn