Click here to Skip to main content
       

ATL / WTL / STL

 
QuestionGet Notification of Wrong Password Attempt PinmemberMember 857955627-Feb-12 4:42 
AnswerRe: Get Notification of Wrong Password Attempt PinmvpRichard MacCutchan27-Feb-12 5:19 
AnswerRe: Get Notification of Wrong Password Attempt Pinmemberpeterchen24-Mar-12 7:32 
QuestionEntry point name correction in compiled DLL, Swig/GCC/CC/LD and exports PinmemberXenobiusII24-Feb-12 20:09 
AnswerRe: Entry point name correction in compiled DLL, Swig/GCC/CC/LD and exports PinmvpRichard MacCutchan25-Feb-12 0:43 
Questionprojects with C++ Pinmemberniara24-Feb-12 14:09 
AnswerRe: projects with C++ PinmvpRichard MacCutchan25-Feb-12 0:37 
QuestionOnChar not called PinmemberMember 199473021-Feb-12 3:20 
Hi
 
I have created my own CWnd Class named CShell my problem is OnChar function not called
 
here with i have attached the code sample
 
#pragma once
// CShell
class CShell : public CWnd
{
DECLARE_DYNAMIC(CShell)
public:
CShell();
virtual ~CShell();
protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnPaint();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
private:
CStringArray m_shellText;
int m_cxChar,m_cyChar,m_cxCaps;
TEXTMETRIC m_tm;
public:
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);

};
 
// Shell.cpp : implementation file
//
#include "stdafx.h"
#include "CommandLine.h"
#include "Shell.h"
// CShell
 
IMPLEMENT_DYNAMIC(CShell, CWnd)
CShell::CShell()
{}
CShell::~CShell()
{}
BEGIN_MESSAGE_MAP(CShell, CWnd)
ON_WM_CHAR()
END_MESSAGE_MAP()
 

void CShell::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags)
{
// TODO: Add your message handler code here and/or call default
//CWnd::OnChar(nChar, nRepCnt, nFlags);
}
AnswerRe: OnChar not called [modified] PinmemberJonathan Davies22-Feb-12 2:36 
GeneralRe: OnChar not called PinmvpRichard MacCutchan22-Feb-12 4:06 
GeneralRe: OnChar not called PinmemberJonathan Davies22-Feb-12 8:30 
Questionreading a .txt file added as resource file in VS 2008 PinmemberMember 771617419-Feb-12 23:31 
AnswerRe: reading a .txt file added as resource file in VS 2008 Pinmember«_Superman_»20-Feb-12 19:29 
Questionhow to return a reference to subvector of std::vector PinmemberEQ Learner9-Feb-12 6:53 
AnswerRe: how to return a reference to subvector of std::vector [modified] PinmemberAlbert Holguin10-Feb-12 21:42 
GeneralRe: how to return a reference to subvector of std::vector PinmemberEQ Learner11-Feb-12 11:32 
GeneralRe: how to return a reference to subvector of std::vector PinmemberAlbert Holguin11-Feb-12 13:31 
Questiondirectshow samplegraber Pinmembervenkatesh528677-Feb-12 21:44 
AnswerRe: directshow samplegraber PinmvpRichard MacCutchan7-Feb-12 23:30 
QuestionDifference between CHOICE and TIMEOUT dos commands Pinmembervanikanc6-Feb-12 6:00 
AnswerRe: Difference between CHOICE and TIMEOUT dos commands PinmvpRichard MacCutchan6-Feb-12 6:36 
QuestionWindows XP Embedded Crypto Providers PinmemberMember 23122052-Feb-12 10:33 
AnswerRe: Windows XP Embedded Crypto Providers Pinmemberenhzflep27-Feb-12 5:41 
QuestionCreate 32 and 64 bits COM dll Pinmemberkhaliloenit1-Feb-12 23:11 
AnswerRe: Create 32 and 64 bits COM dll Pinmember«_Superman_»3-Feb-12 18:29 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.141223.1 | Last Updated 22 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid