Click here to Skip to main content
15,917,565 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Size of a track bar? Pin
David Crow13-Aug-07 10:38
David Crow13-Aug-07 10:38 
QuestionShow/hide deskband ? Pin
vilius_m11-Aug-07 10:44
vilius_m11-Aug-07 10:44 
QuestionHow many dll's Pin
Johan Pretorius11-Aug-07 7:26
Johan Pretorius11-Aug-07 7:26 
QuestionMy Documents Pin
RomTibi11-Aug-07 4:45
RomTibi11-Aug-07 4:45 
AnswerRe: My Documents Pin
Mark Salsbery11-Aug-07 6:32
Mark Salsbery11-Aug-07 6:32 
GeneralRe: My Documents Pin
RomTibi11-Aug-07 7:27
RomTibi11-Aug-07 7:27 
QuestionHandling of WM_NCLBUTTONUP Pin
ss43111-Aug-07 3:09
ss43111-Aug-07 3:09 
AnswerRe: Handling of WM_NCLBUTTONUP Pin
Mark Salsbery11-Aug-07 6:37
Mark Salsbery11-Aug-07 6:37 
The same way you handle any window messages (assuming you're using MFC doc/view)
// Add to class
afx_msg void OnNcLButtonUp(UINT nHitTest, CPoint point);

// Add to message map 
ON_WM_NCLBUTTONUP()

// Add implementation of handler method
void CMyWndClass::OnNcLButtonUp(UINT nHitTest, CPoint point)
{
   baseclass::OnNcLButtonUp(nHitTest, point);

   ... do stuff...
}

MArk



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Handling of WM_NCLBUTTONUP Pin
ss43113-Aug-07 19:08
ss43113-Aug-07 19:08 
GeneralRe: Handling of WM_NCLBUTTONUP Pin
Mark Salsbery14-Aug-07 5:08
Mark Salsbery14-Aug-07 5:08 
Questionneed your help urgent! Pin
gentleguy11-Aug-07 2:49
gentleguy11-Aug-07 2:49 
AnswerRe: need your help urgent! Pin
mid=574111-Aug-07 4:25
mid=574111-Aug-07 4:25 
GeneralRe: need your help urgent! Pin
gentleguy11-Aug-07 21:36
gentleguy11-Aug-07 21:36 
GeneralRe: need your help urgent! Pin
mid=574112-Aug-07 5:27
mid=574112-Aug-07 5:27 
QuestionLocal tutor needed will pay.............. Pin
Poppabear100011-Aug-07 2:46
Poppabear100011-Aug-07 2:46 
QuestionHow to color a form in my MFC application Pin
saravana00111-Aug-07 1:57
saravana00111-Aug-07 1:57 
QuestionRe: How to color a form in my MFC application Pin
Hamid_RT11-Aug-07 7:31
Hamid_RT11-Aug-07 7:31 
Questiona very strange problem about socket Pin
kcynic11-Aug-07 1:50
kcynic11-Aug-07 1:50 
AnswerRe: a very strange problem about socket Pin
Mark Salsbery11-Aug-07 6:46
Mark Salsbery11-Aug-07 6:46 
GeneralRe: a very strange problem about socket Pin
David Crow11-Aug-07 12:40
David Crow11-Aug-07 12:40 
GeneralRe: a very strange problem about socket Pin
Mark Salsbery12-Aug-07 7:42
Mark Salsbery12-Aug-07 7:42 
GeneralRe: a very strange problem about socket Pin
kcynic11-Aug-07 18:45
kcynic11-Aug-07 18:45 
GeneralRe: a very strange problem about socket Pin
Mark Salsbery12-Aug-07 6:53
Mark Salsbery12-Aug-07 6:53 
GeneralRe: a very strange problem about socket Pin
kcynic12-Aug-07 9:59
kcynic12-Aug-07 9:59 
GeneralRe: a very strange problem about socket Pin
Mark Salsbery12-Aug-07 10:16
Mark Salsbery12-Aug-07 10:16 

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.