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
S

spiritofklanawa

@spiritofklanawa
About
Posts
7
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to prevent Screen Saver from turning on
    S spiritofklanawa

    I'm generating an animation on the screen and the screen saver kicks in since there is no keyboard/mouse interaction from the user. Is there any MFC/Win32 to reset the screen saver timer ? Worst comes to worse I might try a SendMessage() with WM_COMMAND/BN_CLICKED periodically to simulate user interaction but there must be some more elegant solution. Thanks for your input Alex

    asta la vista baby

    C / C++ / MFC c++ tutorial question

  • Release build runs slower than Debug build
    S spiritofklanawa

    Both Release and Debug builds were tested on the same machine (the P-III test machine). Thanks. asta la vista baby

    C / C++ / MFC c++ graphics debugging performance announcement

  • Release build runs slower than Debug build
    S spiritofklanawa

    Any ideas out there why the Release build has lower performance than the Debug build. build machine: Centrino Laptop, 1.6 GHz test machine: PIII, 700MHz project-settings-C/C++-processor: Blend* The application consists of a MMAPI timer thread that posts messages to a view that displays graphics into the CDC. The measure of performance is the amount of delay between timer event (sound) and WM_PAINT (picture). thanx in advance

    C / C++ / MFC c++ graphics debugging performance announcement

  • how to send message to CCmdTarget
    S spiritofklanawa

    To send a message to a CWnd derived object is easy, I use SendMessage() method. Could anyone help me understand how to send message to a CCmdTarget derived object such as CDocument which owns a message table (BEGIN_MESSAGE_MAP/END_MESSAGE_MAP) ? Perhaps I'm just going down the difficult path. Namely, I'm trying to send a "new-document" menu message to the SDI document to force cleanup and get the "option to save modified" feature. For some reason if I call OnNewDocument() method directly the framework ignors the fact that the current document is "modified". I though sending the menu message would fool the framework to do its job. Thanks bunches Alex

    C / C++ / MFC help tutorial question career

  • Layout in MFC
    S spiritofklanawa

    First you create GUI components (usually derived from CWnd class) such as CButton by calling their Create() method. Then you can change their position using the SetWindowPos() method.

    C / C++ / MFC c++ question

  • CButton displayes dark edge after first click
    S spiritofklanawa

    that was it ! I just added a line of code in the BN_CLICKED message handler to remove the "BS_DEFPUSHBUTTON" style. The trouble was that multiple buttons showed this dark outline which looked goofy. Thanks

    C / C++ / MFC help

  • CButton displayes dark edge after first click
    S spiritofklanawa

    I create a button at runtime using CButton.Create() function. The button looks fine until it is clicked the first time. From then on the black rectangle around the button becomes slightly wider and does not go away with releasing the button. It's cosmetic problem only, subtle but annoying nevertheless. I suspect it's something to do with window-style and extended-window-style but I had no success so far. Thanks in advance for your suggestions.:sigh: spiritofklanawa

    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