Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionFindResource -Problem Pin
kotiramkoteswararao20-Dec-05 23:53
kotiramkoteswararao20-Dec-05 23:53 
AnswerRe: FindResource -Problem Pin
includeh1021-Dec-05 2:23
includeh1021-Dec-05 2:23 
QuestionHow can I add a status bar to a dialog..... Pin
Owner drawn20-Dec-05 23:53
Owner drawn20-Dec-05 23:53 
AnswerRe: How can I add a status bar to a dialog..... Pin
Owner drawn21-Dec-05 0:08
Owner drawn21-Dec-05 0:08 
AnswerRe: How can I add a status bar to a dialog..... Pin
Ward21-Dec-05 0:13
Ward21-Dec-05 0:13 
AnswerRe: How can I add a status bar to a dialog..... Pin
Rage21-Dec-05 1:12
professionalRage21-Dec-05 1:12 
AnswerThanks a lot guys Pin
Owner drawn21-Dec-05 1:56
Owner drawn21-Dec-05 1:56 
QuestionSubclassed MFC CHeaderCtrl does only receive WM_NOTIFY in Debug Pin
WernerP20-Dec-05 23:51
WernerP20-Dec-05 23:51 
Hi,

(1) I have a CRszListCtrl : public CListCtrl

(2) which has a CustHeaderCtrl m_hdrCustom, where CustHeaderCtrl : public CHeaderCtrl

(3) CRszListCtrl has init() called from CDialog::OnInitDialog.

(4) This init() calls void CustHeaderCtrl::init(CListCtrl * const pList) with Argument this (i.e. self) to init its m_hdrCustom

(5) The code is

void CustHeaderCtrl::init(CListCtrl * const pList)<br />
{<br />
    m_pParentList = pList;<br />
    CHeaderCtrl * pHeader = m_pParentList->GetHeaderCtrl();<br />
    ASSERT( SubclassWindow(pHeader->GetSafeHwnd()) );<br />
}<br />


(6) To catch clicks on the header items I made handlers for WM_NOTIFY messages resent to the header by it's parent list which where routed via WM_NOTIFY_REFLECT macro or alternatively via OnChildNotify.

:(Both work fine but only in debug code!
Who can give a solution? Thank you!

regards Werner
AnswerRe: Subclassed MFC CHeaderCtrl does only receive WM_NOTIFY in Debug Pin
Rage21-Dec-05 1:14
professionalRage21-Dec-05 1:14 
GeneralRe: Subclassed MFC CHeaderCtrl does only receive WM_NOTIFY in Debug Pin
WernerP21-Dec-05 4:47
WernerP21-Dec-05 4:47 
QuestionMFC functions fail when called from exported function in DLL Pin
Mayank Ji20-Dec-05 23:32
Mayank Ji20-Dec-05 23:32 
AnswerRe: MFC functions fail when called from exported function in DLL Pin
krmed21-Dec-05 2:01
krmed21-Dec-05 2:01 
QuestionExplorer list control Pin
rrrado20-Dec-05 23:30
rrrado20-Dec-05 23:30 
AnswerRe: Explorer list control Pin
khan++21-Dec-05 3:32
khan++21-Dec-05 3:32 
QuestionRe: Explorer list control Pin
rrrado21-Dec-05 3:55
rrrado21-Dec-05 3:55 
AnswerRe: Explorer list control Pin
khan++21-Dec-05 4:20
khan++21-Dec-05 4:20 
JokeRe: Explorer list control Pin
rrrado21-Dec-05 22:13
rrrado21-Dec-05 22:13 
QuestionCan I call conf.exe within Service using vc++ Pin
trinadh_t20-Dec-05 22:00
trinadh_t20-Dec-05 22:00 
QuestionLanguage Translation( Urgent pls)........ Pin
RockyJames20-Dec-05 21:35
RockyJames20-Dec-05 21:35 
QuestionMFC FileOpen handle Pin
vikas amin20-Dec-05 19:58
vikas amin20-Dec-05 19:58 
AnswerRe: MFC FileOpen handle Pin
Indivara21-Dec-05 0:00
professionalIndivara21-Dec-05 0:00 
QuestionAn object which can mask only from copy and Paste Pin
harijulie20-Dec-05 19:45
harijulie20-Dec-05 19:45 
QuestionActiveX Question Pin
Rajesh R Subramanian20-Dec-05 19:42
professionalRajesh R Subramanian20-Dec-05 19:42 
AnswerRe: ActiveX Question Pin
Calc2020-Dec-05 20:10
Calc2020-Dec-05 20:10 
GeneralRe: ActiveX Question Pin
Rajesh R Subramanian21-Dec-05 0:51
professionalRajesh R Subramanian21-Dec-05 0:51 

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.