Click here to Skip to main content
15,905,590 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCycle of Message loop Pin
econy25-Jun-13 4:59
econy25-Jun-13 4:59 
AnswerRe: Cycle of Message loop Pin
jeron125-Jun-13 5:24
jeron125-Jun-13 5:24 
AnswerRe: Cycle of Message loop Pin
dusty_dex25-Jun-13 5:25
dusty_dex25-Jun-13 5:25 
QuestionMoire effect Pin
_Flaviu24-Jun-13 21:18
_Flaviu24-Jun-13 21:18 
AnswerRe: Moire effect Pin
CPallini24-Jun-13 21:36
mveCPallini24-Jun-13 21:36 
GeneralRe: Moire effect Pin
_Flaviu24-Jun-13 21:49
_Flaviu24-Jun-13 21:49 
GeneralRe: Moire effect Pin
CPallini24-Jun-13 22:05
mveCPallini24-Jun-13 22:05 
AnswerRe: Moire effect Pin
JackDingler26-Jun-13 11:48
JackDingler26-Jun-13 11:48 
Questiona C++ / XINPUT project getting underway.. Pin
JimmyOneSlap23-Jun-13 14:42
JimmyOneSlap23-Jun-13 14:42 
AnswerRe: a C++ / XINPUT project getting underway.. Pin
Richard MacCutchan23-Jun-13 21:10
mveRichard MacCutchan23-Jun-13 21:10 
Questionimplemented code of inline assembly language on any of the method e.g: Stack, Calculator Pin
Member 1012140622-Jun-13 6:05
Member 1012140622-Jun-13 6:05 
AnswerRe: implemented code of inline assembly language on any of the method e.g: Stack, Calculator Pin
NotPolitcallyCorrect22-Jun-13 6:19
NotPolitcallyCorrect22-Jun-13 6:19 
QuestionDirectShow Source Filter Connection Error 0x8004022F Pin
sdancer7520-Jun-13 21:54
sdancer7520-Jun-13 21:54 
QuestionHow to add shadow to a dialog without border Pin
smithzhang20-Jun-13 20:17
smithzhang20-Jun-13 20:17 
AnswerRe: How to add shadow to a dialog without border Pin
smithzhang20-Jun-13 20:34
smithzhang20-Jun-13 20:34 
QuestionFont size of menu text in MFCRibbonbar in feature pack. Pin
Anu_Bala20-Jun-13 19:16
Anu_Bala20-Jun-13 19:16 
QuestionOnLButtonDown not getting called for Slider Control in MFC.? Pin
mbatra3120-Jun-13 7:04
mbatra3120-Jun-13 7:04 
AnswerRe: OnLButtonDown not getting called for Slider Control in MFC.? Pin
thanh_bkhn20-Jun-13 18:59
professionalthanh_bkhn20-Jun-13 18:59 
GeneralRe: OnLButtonDown not getting called for Slider Control in MFC.? Pin
mbatra3120-Jun-13 19:20
mbatra3120-Jun-13 19:20 
GeneralRe: OnLButtonDown not getting called for Slider Control in MFC.? Pin
thanh_bkhn20-Jun-13 20:27
professionalthanh_bkhn20-Jun-13 20:27 
GeneralRe: OnLButtonDown not getting called for Slider Control in MFC.? Pin
mbatra3120-Jun-13 20:35
mbatra3120-Jun-13 20:35 
AnswerRe: OnLButtonDown not getting called for Slider Control in MFC.? Pin
David Crow21-Jun-13 10:12
David Crow21-Jun-13 10:12 
I just tried and I get notifications of each move. Code excerpt looks like:

BEGIN_MESSAGE_MAP(CTestDlg, CDialog)
    ON_NOTIFY(TRBN_THUMBPOSCHANGING, IDC_SLIDER1, &CTestDlg::OnTRBNThumbPosChangingSlider1)
END_MESSAGE_MAP()

void CTestDlg::OnTRBNThumbPosChangingSlider1(NMHDR *pNMHDR, LRESULT *pResult)
{
    NMTRBTHUMBPOSCHANGING *pNMTPC = reinterpret_cast<NMTRBTHUMBPOSCHANGING *>(pNMHDR);

    TRACE(_T("Position = %lu\n"), pNMTPC->dwPos);

    *pResult = 0;
}

Did you remember to turn on the "Notify Before Move" style?

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous


GeneralRe: OnLButtonDown not getting called for Slider Control in MFC.? Pin
mbatra3121-Jun-13 20:16
mbatra3121-Jun-13 20:16 
AnswerRe: OnLButtonDown not getting called for Slider Control in MFC.? Pin
David Crow24-Jun-13 5:29
David Crow24-Jun-13 5:29 
GeneralRe: OnLButtonDown not getting called for Slider Control in MFC.? Pin
mbatra3124-Jun-13 22:40
mbatra3124-Jun-13 22:40 

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.