Click here to Skip to main content
15,895,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: bit extraction from BYTE Pin
KarstenK18-Mar-10 22:15
mveKarstenK18-Mar-10 22:15 
AnswerRe: bit extraction from BYTE Pin
normanS9-Mar-10 22:37
normanS9-Mar-10 22:37 
AnswerRe: bit extraction from BYTE Pin
«_Superman_»9-Mar-10 22:56
professional«_Superman_»9-Mar-10 22:56 
GeneralRe: bit extraction from BYTE Pin
Mohan Ramachandra9-Mar-10 23:09
Mohan Ramachandra9-Mar-10 23:09 
GeneralRe: bit extraction from BYTE Pin
«_Superman_»9-Mar-10 23:21
professional«_Superman_»9-Mar-10 23:21 
AnswerRe: bit extraction from BYTE Pin
CPallini9-Mar-10 23:18
mveCPallini9-Mar-10 23:18 
AnswerRe: bit extraction from BYTE Pin
KarstenK10-Mar-10 4:15
mveKarstenK10-Mar-10 4:15 
GeneralRe: bit extraction from BYTE Pin
CPallini10-Mar-10 11:24
mveCPallini10-Mar-10 11:24 
QuestionDialog Box Resize [modified] Pin
shiv@nand9-Mar-10 21:48
shiv@nand9-Mar-10 21:48 
AnswerRe: Dialog Box Resize Pin
Mohan Ramachandra9-Mar-10 21:53
Mohan Ramachandra9-Mar-10 21:53 

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.