Click here to Skip to main content
14,773,870 members
Home » Discussions » ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionGet Notification of Wrong Password Attempt Pin
Member 857955627-Feb-12 4:42
MemberMember 857955627-Feb-12 4:42 
AnswerRe: Get Notification of Wrong Password Attempt Pin
Richard MacCutchan27-Feb-12 5:19
mveRichard MacCutchan27-Feb-12 5:19 
AnswerRe: Get Notification of Wrong Password Attempt Pin
peterchen24-Mar-12 7:32
Memberpeterchen24-Mar-12 7:32 
QuestionEntry point name correction in compiled DLL, Swig/GCC/CC/LD and exports Pin
XenobiusII24-Feb-12 20:09
MemberXenobiusII24-Feb-12 20:09 
AnswerRe: Entry point name correction in compiled DLL, Swig/GCC/CC/LD and exports Pin
Richard MacCutchan25-Feb-12 0:43
mveRichard MacCutchan25-Feb-12 0:43 
Questionprojects with C++ Pin
niara 24-Feb-12 14:09
Memberniara 24-Feb-12 14:09 
AnswerRe: projects with C++ Pin
Richard MacCutchan25-Feb-12 0:37
mveRichard MacCutchan25-Feb-12 0:37 
QuestionOnChar not called Pin
Member 199473021-Feb-12 3:20
MemberMember 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 Pin
Jonathan Davies22-Feb-12 2:36
MemberJonathan Davies22-Feb-12 2:36 
GeneralRe: OnChar not called Pin
Richard MacCutchan22-Feb-12 4:06
mveRichard MacCutchan22-Feb-12 4:06 
GeneralRe: OnChar not called Pin
Jonathan Davies22-Feb-12 8:30
MemberJonathan Davies22-Feb-12 8:30 
Questionreading a .txt file added as resource file in VS 2008 Pin
Member 771617419-Feb-12 23:31
MemberMember 771617419-Feb-12 23:31 
AnswerRe: reading a .txt file added as resource file in VS 2008 Pin
«_Superman_»20-Feb-12 19:29
professional«_Superman_»20-Feb-12 19:29 
Questionhow to return a reference to subvector of std::vector Pin
EQ Learner9-Feb-12 6:53
MemberEQ Learner9-Feb-12 6:53 
AnswerRe: how to return a reference to subvector of std::vector Pin
Albert Holguin10-Feb-12 21:42
professionalAlbert Holguin10-Feb-12 21:42 
GeneralRe: how to return a reference to subvector of std::vector Pin
EQ Learner11-Feb-12 11:32
MemberEQ Learner11-Feb-12 11:32 
GeneralRe: how to return a reference to subvector of std::vector Pin
Albert Holguin11-Feb-12 13:31
professionalAlbert Holguin11-Feb-12 13:31 
Questiondirectshow samplegraber Pin
venkatesh528677-Feb-12 21:44
Membervenkatesh528677-Feb-12 21:44 
AnswerRe: directshow samplegraber Pin
Richard MacCutchan7-Feb-12 23:30
mveRichard MacCutchan7-Feb-12 23:30 
QuestionDifference between CHOICE and TIMEOUT dos commands Pin
vanikanc6-Feb-12 6:00
Membervanikanc6-Feb-12 6:00 
AnswerRe: Difference between CHOICE and TIMEOUT dos commands Pin
Richard MacCutchan6-Feb-12 6:36
mveRichard MacCutchan6-Feb-12 6:36 
QuestionWindows XP Embedded Crypto Providers Pin
Member 23122052-Feb-12 10:33
MemberMember 23122052-Feb-12 10:33 
AnswerRe: Windows XP Embedded Crypto Providers Pin
enhzflep27-Feb-12 5:41
Memberenhzflep27-Feb-12 5:41 
QuestionCreate 32 and 64 bits COM dll Pin
MrKBA1-Feb-12 23:11
MemberMrKBA1-Feb-12 23:11 
AnswerRe: Create 32 and 64 bits COM dll Pin
«_Superman_»3-Feb-12 18:29
professional«_Superman_»3-Feb-12 18:29 

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.