Click here to Skip to main content
15,903,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I get VS 2008 to generate all the classes a control needs? Pin
Interrobang25-Mar-10 9:35
Interrobang25-Mar-10 9:35 
Questionvector sort method Pin
b-rad31125-Mar-10 9:13
b-rad31125-Mar-10 9:13 
AnswerRe: vector sort method Pin
Maximilien25-Mar-10 9:37
Maximilien25-Mar-10 9:37 
GeneralRe: vector sort method Pin
Luc Pattyn25-Mar-10 10:19
sitebuilderLuc Pattyn25-Mar-10 10:19 
GeneralRe: vector sort method Pin
Maximilien25-Mar-10 10:34
Maximilien25-Mar-10 10:34 
GeneralRe: vector sort method Pin
Luc Pattyn25-Mar-10 10:36
sitebuilderLuc Pattyn25-Mar-10 10:36 
QuestionProgress Meter (MFC) [modified] Pin
Software200725-Mar-10 6:41
Software200725-Mar-10 6:41 
AnswerRe: Progress Meter (MFC) Pin
CPallini25-Mar-10 6:58
mveCPallini25-Mar-10 6:58 
AnswerRe: Progress Meter (MFC) Pin
Ravi Bhavnani25-Mar-10 7:33
professionalRavi Bhavnani25-Mar-10 7:33 
Questionuse of a struct in a pair which is used in a vector of vectors Pin
b-rad31125-Mar-10 5:49
b-rad31125-Mar-10 5:49 
AnswerRe: use of a struct in a pair which is used in a vector of vectors Pin
Graham Breach25-Mar-10 6:38
Graham Breach25-Mar-10 6:38 
QuestionCBCGPProp PushChar event not work Pin
MrKBA25-Mar-10 3:37
MrKBA25-Mar-10 3:37 
QuestionRe: CBCGPProp PushChar event not work Pin
CPallini25-Mar-10 3:51
mveCPallini25-Mar-10 3:51 
AnswerRe: CBCGPProp PushChar event not work Pin
MrKBA25-Mar-10 4:05
MrKBA25-Mar-10 4:05 
AnswerRe: CBCGPProp PushChar event not work Pin
tom groezer26-Mar-10 2:47
tom groezer26-Mar-10 2:47 
QuestionRe: CBCGPProp PushChar event not work Pin
CPallini26-Mar-10 2:55
mveCPallini26-Mar-10 2:55 
AnswerRe: CBCGPProp PushChar event not work Pin
Tim Craig26-Mar-10 8:37
Tim Craig26-Mar-10 8:37 
AnswerRe: CBCGPProp PushChar event not work Pin
Eugen Podsypalnikov25-Mar-10 3:52
Eugen Podsypalnikov25-Mar-10 3:52 
GeneralRe: CBCGPProp PushChar event not work Pin
MrKBA25-Mar-10 4:04
MrKBA25-Mar-10 4:04 
The class CBCGPProp is a standard class (delivered with BCGTool) and it seems like this:
class BCGCBPRODLLEXPORT CBCGPProp : public CObject
{
DECLARE_DYNAMIC(CBCGPProp)

friend class CBCGPPropList;

// Construction
public:
// Group constructor
CBCGPProp(const CString& strGroupName, DWORD_PTR dwData = 0,
BOOL bIsValueList = FALSE);

// Simple property
CBCGPProp(const CString& strName, const _variant_t& varValue,
LPCTSTR lpszDescr = NULL, DWORD_PTR dwData = 0,
LPCTSTR lpszEditMask = NULL, LPCTSTR lpszEditTemplate = NULL,
LPCTSTR lpszValidChars = NULL);

virtual ~CBCGPProp();

enum ClickArea
{
ClickExpandBox,
ClickName,
ClickValue,
ClickDescription
};

// Operations:
public:
int GetExpandedSubItems (BOOL bIncludeHidden = TRUE) const;
BOOL AddSubItem (CBCGPProp* pProp);
BOOL RemoveSubItem (CBCGPProp*& pProp, BOOL bDelete = TRUE);
.
.
.
public:
virtual BOOL OnEndEdit ();

virtual void OnClickButton (CPoint point);
virtual BOOL OnClickValue (UINT uiMsg, CPoint point);
virtual BOOL OnDblClick (CPoint point);

virtual void OnSelectCombo ();
virtual void OnCloseCombo();

virtual BOOL OnSetCursor () const;
virtual BOOL PushChar (UINT nChar);
...}

in my CSelBCGProp.cpp it seems like this :
BOOL CSelBCGProp::PushChar (UINT nChar)
{
nChar;
return true;
}
What i need is to know the character that the user enter it and make a treatment on it.
GeneralRe: CBCGPProp PushChar event not work Pin
Eugen Podsypalnikov25-Mar-10 4:12
Eugen Podsypalnikov25-Mar-10 4:12 
GeneralRe: CBCGPProp PushChar event not work Pin
MrKBA26-Mar-10 3:53
MrKBA26-Mar-10 3:53 
Questionneed vector of vectors to hold more than just a "pair" Pin
b-rad31125-Mar-10 3:34
b-rad31125-Mar-10 3:34 
AnswerRe: need vector of vectors to hold more than just a "pair" Pin
Chris Losinger25-Mar-10 3:42
professionalChris Losinger25-Mar-10 3:42 
GeneralRe: need vector of vectors to hold more than just a "pair" Pin
b-rad31125-Mar-10 3:45
b-rad31125-Mar-10 3:45 
GeneralRe: need vector of vectors to hold more than just a "pair" Pin
Chris Losinger25-Mar-10 3:58
professionalChris Losinger25-Mar-10 3:58 

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.