Click here to Skip to main content
15,901,001 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: "Add Event Handler" greyed out in VS2005 Pin
JudyL_MD11-Jun-07 2:42
JudyL_MD11-Jun-07 2:42 
GeneralRe: "Add Event Handler" greyed out in VS2005 Pin
#realJSOP11-Jun-07 3:07
professional#realJSOP11-Jun-07 3:07 
Questionlist control Pin
deeps_cute9-Jun-07 20:33
deeps_cute9-Jun-07 20:33 
AnswerRe: list control Pin
CPallini10-Jun-07 2:02
mveCPallini10-Jun-07 2:02 
QuestionOnKeyDown and OnPreTranslateMsg() problem... Pin
eli150219799-Jun-07 20:15
eli150219799-Jun-07 20:15 
AnswerRe: OnKeyDown and OnPreTranslateMsg() problem... Pin
Perspx9-Jun-07 20:30
Perspx9-Jun-07 20:30 
GeneralRe: OnKeyDown and OnPreTranslateMsg() problem... Pin
eli150219799-Jun-07 20:51
eli150219799-Jun-07 20:51 
GeneralRe: OnKeyDown and OnPreTranslateMsg() problem... Pin
Perspx10-Jun-07 0:25
Perspx10-Jun-07 0:25 
No i mean creating the window using the CreateWindow() or CreateWindowEx() API as opposed to creating a dialog window. Creating a window like this will create a "proper" window as opposed to a dialog window - take a look at this article for more information. I think - but im not sure - that some window messages dont get passed to dialog windows and i think WM_KEYDOWN is one of them.. I think I have tried that in the past to no avail.. So create the window "properly", then create the controls in it using CreateWindow() and CreateWindowEx(), and specifying the control classes (see this article on MSDN if you do not know these classes).

Hope this helps!
--PerspX
AnswerRe: OnKeyDown and OnPreTranslateMsg() problem... Pin
rp_suman9-Jun-07 22:43
rp_suman9-Jun-07 22:43 
GeneralRe: OnKeyDown and OnPreTranslateMsg() problem... Pin
eli1502197910-Jun-07 1:36
eli1502197910-Jun-07 1:36 
GeneralRe: OnKeyDown and OnPreTranslateMsg() problem... Pin
rp_suman10-Jun-07 5:49
rp_suman10-Jun-07 5:49 
AnswerRe: OnKeyDown and OnPreTranslateMsg() problem... Pin
Mark Salsbery10-Jun-07 6:17
Mark Salsbery10-Jun-07 6:17 
GeneralRe: OnKeyDown and OnPreTranslateMsg() problem... Pin
rp_suman10-Jun-07 16:10
rp_suman10-Jun-07 16:10 
GeneralRe: OnKeyDown and OnPreTranslateMsg() problem... Pin
Mark Salsbery10-Jun-07 17:01
Mark Salsbery10-Jun-07 17:01 
GeneralRe: OnKeyDown and OnPreTranslateMsg() problem... Pin
rp_suman10-Jun-07 23:03
rp_suman10-Jun-07 23:03 
GeneralRe: OnKeyDown and OnPreTranslateMsg() problem... Pin
Mark Salsbery11-Jun-07 6:23
Mark Salsbery11-Jun-07 6:23 
AnswerRe: OnKeyDown and OnPreTranslateMsg() problem... Pin
MANISH RASTOGI10-Jun-07 19:00
MANISH RASTOGI10-Jun-07 19:00 
Questionpls help me Pin
saisp9-Jun-07 18:58
saisp9-Jun-07 18:58 
AnswerRe: pls help me Pin
Iain Clarke, Warrior Programmer10-Jun-07 3:15
Iain Clarke, Warrior Programmer10-Jun-07 3:15 
QuestionAbout popupMenu Pin
kcynic9-Jun-07 18:32
kcynic9-Jun-07 18:32 
AnswerRe: About popupMenu Pin
Mark Salsbery9-Jun-07 18:47
Mark Salsbery9-Jun-07 18:47 
Questionadding to char arrays together for one arg Pin
NZSmartie9-Jun-07 17:59
NZSmartie9-Jun-07 17:59 
AnswerRe: adding to char arrays together for one arg Pin
Mark Salsbery9-Jun-07 18:23
Mark Salsbery9-Jun-07 18:23 
AnswerRe: adding to char arrays together for one arg Pin
Iain Clarke, Warrior Programmer10-Jun-07 3:20
Iain Clarke, Warrior Programmer10-Jun-07 3:20 
QuestionHelp , why WSAGetLastError( ) return 2? Pin
danscort yu9-Jun-07 16:42
danscort yu9-Jun-07 16:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.