Click here to Skip to main content
15,921,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VS2005 & VS2008 DLL Compilation issues Pin
masnu10-Mar-10 9:21
masnu10-Mar-10 9:21 
QuestionAdministration Rights for my Application by Token Pin
Joschwenk66610-Mar-10 2:58
Joschwenk66610-Mar-10 2:58 
AnswerRe: Administration Rights for my Application by Token Pin
Eugen Podsypalnikov10-Mar-10 3:17
Eugen Podsypalnikov10-Mar-10 3:17 
QuestionWM_GETFONT returns NULL Pin
sashoalm10-Mar-10 1:53
sashoalm10-Mar-10 1:53 
AnswerRe: WM_GETFONT returns NULL Pin
Steve Thresher10-Mar-10 2:24
Steve Thresher10-Mar-10 2:24 
GeneralRe: WM_GETFONT returns NULL Pin
sashoalm10-Mar-10 2:50
sashoalm10-Mar-10 2:50 
QuestionHTML Editing Control for Win32 Pin
Steve Thresher10-Mar-10 0:08
Steve Thresher10-Mar-10 0:08 
AnswerRe: HTML Editing Control for Win32 Pin
KingsGambit10-Mar-10 0:37
KingsGambit10-Mar-10 0:37 
GeneralRe: HTML Editing Control for Win32 Pin
Steve Thresher10-Mar-10 1:07
Steve Thresher10-Mar-10 1:07 
GeneralRe: HTML Editing Control for Win32 Pin
KingsGambit10-Mar-10 7:28
KingsGambit10-Mar-10 7:28 
AnswerRe: HTML Editing Control for Win32 Pin
cmk10-Mar-10 7:32
cmk10-Mar-10 7:32 
QuestionAdding sub-menu items to visio object Pin
coder21k10-Mar-10 0:03
coder21k10-Mar-10 0:03 
QuestionNo Method for Changing CMFCRibbonPanel Control Name Dynamically Pin
A&Ms9-Mar-10 23:31
A&Ms9-Mar-10 23:31 
AnswerRe: No Method for Changing CMFCRibbonPanel Control Name Dynamically Pin
Eugen Podsypalnikov9-Mar-10 23:46
Eugen Podsypalnikov9-Mar-10 23:46 
GeneralRe: No Method for Changing CMFCRibbonPanel Control Name Dynamically Pin
A&Ms10-Mar-10 0:02
A&Ms10-Mar-10 0:02 
Questionproblem on resize and move dialog window Pin
shiv@nand9-Mar-10 23:26
shiv@nand9-Mar-10 23:26 
AnswerRe: problem on resize and move dialog window Pin
Eugen Podsypalnikov9-Mar-10 23:48
Eugen Podsypalnikov9-Mar-10 23:48 
AnswerRe: problem on resize and move dialog window Pin
R@jeev K R10-Mar-10 1:25
R@jeev K R10-Mar-10 1:25 
Use a Boolean member variable in your dlg class and initialise it as FALSE. Set it as TRUE in left button Down event. Then check it in the mouse move. If it is true then redraw the dlg contents. Also set it as FALSE in the left button up event.

eg:

BOOL m_bClicked=FALSE;

	LRESULT OnLButtonDown(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
	{
		m_bClicked=TRUE;
		
		return 0;
	}
	LRESULT OnLButtonUP(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
	{
		m_bClicked=FALSE;


		return 0;
	}

        LRESULT OnMouseMove(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
        {
                if(m_bClicked)
                {
                      //redraw code
                }
        }

AnswerRe: problem on resize and move dialog window Pin
Mohan Ramachandra10-Mar-10 1:28
Mohan Ramachandra10-Mar-10 1:28 
GeneralRe: problem on resize and move dialog window Pin
shiv@nand10-Mar-10 1:29
shiv@nand10-Mar-10 1:29 
GeneralRe: problem on resize and move dialog window Pin
Mohan Ramachandra10-Mar-10 1:40
Mohan Ramachandra10-Mar-10 1:40 
GeneralRe: problem on resize and move dialog window Pin
shiv@nand10-Mar-10 1:42
shiv@nand10-Mar-10 1:42 
GeneralRe: problem on resize and move dialog window Pin
Mohan Ramachandra10-Mar-10 2:08
Mohan Ramachandra10-Mar-10 2:08 
Questionbit extraction from BYTE Pin
hrishi3219-Mar-10 22:19
hrishi3219-Mar-10 22:19 
AnswerMessage Removed Pin
9-Mar-10 22:26
Cool_Dev9-Mar-10 22:26 

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.