Click here to Skip to main content
15,920,632 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to catch TVM_DELETE or TVN_DELTEITEM from a custom tree control. Pin
Richard MacCutchan11-Jul-11 23:44
mveRichard MacCutchan11-Jul-11 23:44 
GeneralRe: How to catch TVM_DELETE or TVN_DELTEITEM from a custom tree control. Pin
Amrit Agr12-Jul-11 0:35
Amrit Agr12-Jul-11 0:35 
QuestionNeed to verify my RIFF file header construction - sample code wanted Pin
Vaclav_11-Jul-11 8:02
Vaclav_11-Jul-11 8:02 
AnswerRe: Need to verify my RIFF file header construction - sample code wanted Pin
Vaclav_11-Jul-11 8:42
Vaclav_11-Jul-11 8:42 
AnswerRe: Need to verify my RIFF file header construction - sample code wanted Pin
enhzflep11-Jul-11 16:09
enhzflep11-Jul-11 16:09 
GeneralRe: Need to verify my RIFF file header construction - sample code wanted Pin
Vaclav_11-Jul-11 17:28
Vaclav_11-Jul-11 17:28 
AnswerPARTIALLY SOLVED Need to verify my RIFF file header construction - sample code wanted Pin
Vaclav_12-Jul-11 16:23
Vaclav_12-Jul-11 16:23 
QuestionObtaining a list of what exceptions code can throw Pin
bob1697211-Jul-11 4:26
bob1697211-Jul-11 4:26 
AnswerRe: Obtaining a list of what exceptions code can throw Pin
Albert Holguin11-Jul-11 5:44
professionalAlbert Holguin11-Jul-11 5:44 
GeneralRe: Obtaining a list of what exceptions code can throw Pin
bob1697211-Jul-11 6:39
bob1697211-Jul-11 6:39 
GeneralRe: Obtaining a list of what exceptions code can throw Pin
Albert Holguin11-Jul-11 7:46
professionalAlbert Holguin11-Jul-11 7:46 
GeneralRe: Obtaining a list of what exceptions code can throw Pin
MicroVirus12-Jul-11 6:02
MicroVirus12-Jul-11 6:02 
QuestionHow to send TVN_BEGINLABELEDIT from a custom tree control Pin
Amrit Agr10-Jul-11 21:50
Amrit Agr10-Jul-11 21:50 
AnswerRe: How to send TVN_BEGINLABELEDIT from a custom tree control Pin
Richard MacCutchan10-Jul-11 22:13
mveRichard MacCutchan10-Jul-11 22:13 
AnswerRe: How to send TVN_BEGINLABELEDIT from a custom tree control Pin
User 742933810-Jul-11 22:21
professionalUser 742933810-Jul-11 22:21 
GeneralRe: How to send TVN_BEGINLABELEDIT from a custom tree control Pin
Amrit Agr10-Jul-11 22:59
Amrit Agr10-Jul-11 22:59 
QuestionHow can use Proxy Settings in VC++? Pin
Le@rner10-Jul-11 19:29
Le@rner10-Jul-11 19:29 
AnswerRe: How can use Proxy Settings in VC++? Pin
Cool_Dev10-Jul-11 20:50
Cool_Dev10-Jul-11 20:50 
GeneralRe: How can use Proxy Settings in VC++? Pin
Le@rner11-Jul-11 0:12
Le@rner11-Jul-11 0:12 
QuestionHow to send events to extended child control? Pin
rahul.kulshreshtha8-Jul-11 20:21
rahul.kulshreshtha8-Jul-11 20:21 
I have extended a CComboBox and implemented three messages (or events) like below

 BEGIN_MESSAGE_MAP(CComboCtrl, CComboBox)
ON_WM_KEYDOWN()
ON_CONTROL_REFLECT(CBN_EDITUPDATE, &CComboCtrl::OnCbnEditupdate)
ON_CONTROL_REFLECT(CBN_SELCHANGE, &CComboCtrl::OnCbnSelchange)
 END_MESSAGE_MAP()


Now when a selection changes it calls OnCbnSelchange message-handler. I am using this class inside a dialog class. I have tried to register a message handler in that dialog class for CBN_SELCHANGE event but I think it is not receiving CBN_SELCHANGE event or it is sending that event to custom control. How can I handle CBN_SELCHANGE event inside a dialog class.

This is the implementation inside derived class (or custom control class)
void CComboCtrl::OnCbnSelchange()
{
    // TODO: Add your control notification handler code here
   
    GetLBText(GetCurSel(),m_str_sel); //get previous text in combo. 
		
}

AnswerRe: How to send events to extended child control? Pin
Richard MacCutchan9-Jul-11 2:05
mveRichard MacCutchan9-Jul-11 2:05 
GeneralRe: How to send events to extended child control? Pin
rahul.kulshreshtha9-Jul-11 8:24
rahul.kulshreshtha9-Jul-11 8:24 
QuestionPicturControl Pin
manju 38-Jul-11 19:51
manju 38-Jul-11 19:51 
AnswerRe: PicturControl - REPOST Pin
Richard MacCutchan8-Jul-11 23:30
mveRichard MacCutchan8-Jul-11 23:30 
QuestionCImageList Pin
manju 38-Jul-11 18:49
manju 38-Jul-11 18:49 

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.