spin control not attached with edit control
-
many function in which CWnd pointer is used and i check in application the CWnd pointer is *pParent what when i use this one it gives error as in the m_spin.SetBuddy(CWnd *pWndBuddy);to attach a edit control with spin control Ashish Dogra MCA Noida
-
many function in which CWnd pointer is used and i check in application the CWnd pointer is *pParent what when i use this one it gives error as in the m_spin.SetBuddy(CWnd *pWndBuddy);to attach a edit control with spin control Ashish Dogra MCA Noida
Go to the dialog editor and open the spin control property window . There you can set the property for Alignment - Left and AutoBuddy to TRUE Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
Go to the dialog editor and open the spin control property window . There you can set the property for Alignment - Left and AutoBuddy to TRUE Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
when i set these properties application does not run can u tell me why thanks Ashish Dogra MCA Noida
-
when i set these properties application does not run can u tell me why thanks Ashish Dogra MCA Noida
See
m_Spin1.SetBuddy(GetDlgItem(IDC_EDIT1));
and maybe you need to this function (if this function is next your question if not maybe it is some helpful to you )
void CAnswer::OnDeltaposSpin1(NMHDR *pNMHDR, LRESULT *pResult)
{
LPNMUPDOWN pNMUpDown = reinterpret_cast(pNMHDR);SetDlgItemInt(IDC\_EDIT1,m\_Spin1.GetPos()); \*pResult = 0;
}
_**
**_
whitesky
-
when i set these properties application does not run can u tell me why thanks Ashish Dogra MCA Noida
ashish dogra wrote:
can u tell me why
Not without more information. When you say, "does not run," what exactly does that imply? Do you get a runtime error, an exception, an assertion, some incorrect value, etc? Have you stepped through the code using the debugger to see, or at least narrow down, what the problem is? BTW, didn't you just ask this same question here a mere 2 hours ago?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
ashish dogra wrote:
can u tell me why
Not without more information. When you say, "does not run," what exactly does that imply? Do you get a runtime error, an exception, an assertion, some incorrect value, etc? Have you stepped through the code using the debugger to see, or at least narrow down, what the problem is? BTW, didn't you just ask this same question here a mere 2 hours ago?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
yes david when i answer to this question i see he asked this question already_**
**_
whitesky
-
yes david when i answer to this question i see he asked this question already_**
**_
whitesky
So, what's your point? :rolleyes:
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
So, what's your point? :rolleyes:
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
I say and you say but again we say a same question again again,...,I can say please dont post a same question like a loop_**
**_
whitesky