Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
G

guojianbo

@guojianbo
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • SetWindowRgn Menu Problem
    G guojianbo

    thanks the problem is solved

    C / C++ / MFC help

  • SetWindowRgn Menu Problem
    G guojianbo

    calculate like this: RECT rc; GetWindowRect(hwnd,&rc); OffsetRect(&rc,-rc.left,-rc.top);

    C / C++ / MFC help

  • SetWindowRgn Menu Problem
    G guojianbo

    Hi: first i invoke CreateRoundRectRgn(rc.left, rc.top, rc.right, rc.bottom, 5, 5) create a HRGN, then Invoke SetWindowRgn. SetWindowRgn is successful But RoundRect(hdc, rc.left, rc.top, rc.right, rc.bottom, 5, 5) can not Draw round border, I am surprised Because RoundRect Draw the top and left border, but not draw right and bottom border. Please Help me thanks. the code as follow: HRGN hRgn = CreateRoundRectRgn(rc.left, rc.top, rc.right, rc.bottom, 5, 5); ::SetWindowRgn(hwnd, hRgn, TRUE); RoundRect(dcMem, rc.left, rc.top, rc.right, rc.bottom, 5, 5);

    C / C++ / MFC help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups