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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
R

Ramon F Mendes

@Ramon F Mendes
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • TransparentBlt
    R Ramon F Mendes

    _T("No name") wrote:

    CDialog::OnEraseBkgnd(pDC);

    When you call the OnEraseBkgnd base method MFC calls the DefWndProc which will fill the dialog with its associated background brush, so remove this line. Also, make sure to set the transparent style of the dialog to TRUE

    C / C++ / MFC

  • why CCriticalSection::Lock doesn't allow to set the timeout
    R Ramon F Mendes

    as far as I know, the only difference between CMutex and CCriticalSection is that CMutex works at the kernel level and so can be used across process boundaries So why can you specify the timeout with CMutex::Lock method, but not in CCriticalSection::Lock?

    CMutex mutex;
    mutex.Lock( 1000 );

    CCriticalSection critsec;
    critsec.Lock( 1000 ); //here you will get an assertion

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

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