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
H

Habeeballah Hasnoddin

@Habeeballah Hasnoddin
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • why OnKeyDown & OnKeyUp different when they meet "Enter"?
    H Habeeballah Hasnoddin

    I got the point. ==> You must have "Multiline" and "WantReturn" properties set on this edit box. As I observed while testing, the following is true. --> If you set just the "Multiline" then only keydown gets fired and not the keyup. --> If you set just the wantreturn and not the Multiline then only keyup gets fired and not keydown. thats it.

    Habeeballah Hasnoddin

    C / C++ / MFC question

  • why OnKeyDown & OnKeyUp different when they meet "Enter"?
    H Habeeballah Hasnoddin

    For sure you have put the messagebox code in OnKeyDown. Since the messagebox pops up in OnKeyDown, the focus is gained by the messagebox, so the OnKeyUp will not be handled on the edit box. I tested myself without the messagebox, and for me both keydown and keyup are working fine on a derived class of CEdit.

    Habeeballah Hasnoddin :rose:

    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