Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: confused about system stack [modified] Pin
George_George6-Jun-06 21:21
George_George6-Jun-06 21:21 
QuestionQuaternion rotation Pin
lastgen4-Jun-06 22:43
lastgen4-Jun-06 22:43 
Questionhow to structure my program?? Pin
Nawar_nrr4-Jun-06 22:41
Nawar_nrr4-Jun-06 22:41 
AnswerRe: how to structure my program?? Pin
Blake Miller6-Jun-06 5:07
Blake Miller6-Jun-06 5:07 
Questionevent socket model question Pin
followait4-Jun-06 22:14
followait4-Jun-06 22:14 
GeneralRe: Does event socket model have to wait for events in another thread in an interactive app? [modified] Pin
Sarath C4-Jun-06 22:25
Sarath C4-Jun-06 22:25 
GeneralRe: Does event socket model have to wait for events in another thread in an interactive app? [modified] Pin
followait4-Jun-06 22:50
followait4-Jun-06 22:50 
QuestionStrange spin button control problem Pin
David L.S.4-Jun-06 21:33
David L.S.4-Jun-06 21:33 
Hi, there,

I added a spin button in my dialog and its name is IDC_SPIN_TAP. Its property is
UDS_SETBUDDYINT | UDS_AUTOBUDDY | UDS_ARROWKEYS
I added a class variable CSpinButtonCtrl m_wndSpinTap in the header file. In the cpp file,
<br />
	DDX_Text(pDX, IDC_EDIT_TAP, m_nTapNum);<br />
	DDV_MinMaxInt(pDX,m_nTapNum,0,100000);<br />
	DDX_Control(pDX, IDC_SPIN_TAP, m_wndSpinTap);<br />
                ......<br />
        m_wndSpinTap.SetRange(0,100000);<br />

where IDC_EDIT_TAP is its buddy control. When I clicked the up-arrow of the spin button, the number in the buddy edit window was supposed to increase by one like 0,1, 2, 3.... But strangely, the number becomes 0, -1, -2, -3.... When I clicked the down-arrow of it, the number changed from -3, -2, -1, and stops at zero. How could this happen? Did I miss any setting for the spin button?

Thank you very much!
David
AnswerRe: Strange spin button control problem Pin
PJ Arends4-Jun-06 21:54
professionalPJ Arends4-Jun-06 21:54 
GeneralRe: Strange spin button control problem Pin
David L.S.4-Jun-06 22:55
David L.S.4-Jun-06 22:55 
QuestionPlease help with recordset Pin
SWDevil4-Jun-06 21:09
SWDevil4-Jun-06 21:09 
QuestionDirectX functions - Graphics card Pin
velayudhan_raj4-Jun-06 21:01
velayudhan_raj4-Jun-06 21:01 
AnswerRe: DirectX functions - Graphics card Please help me, Its URGENT Pin
velayudhan_raj4-Jun-06 22:20
velayudhan_raj4-Jun-06 22:20 
QuestionLooking for data structures for long integer Pin
George_George4-Jun-06 20:33
George_George4-Jun-06 20:33 
AnswerRe: Looking for data structures for long integer Pin
Maxwell Chen4-Jun-06 21:03
Maxwell Chen4-Jun-06 21:03 
GeneralRe: Looking for data structures for long integer Pin
George_George4-Jun-06 21:15
George_George4-Jun-06 21:15 
AnswerRe: Looking for data structures for long integer Pin
Maxwell Chen4-Jun-06 21:46
Maxwell Chen4-Jun-06 21:46 
GeneralRe: Looking for data structures for long integer Pin
George_George4-Jun-06 22:15
George_George4-Jun-06 22:15 
Questionopen file dialog Pin
iLL eFFect4-Jun-06 20:25
iLL eFFect4-Jun-06 20:25 
AnswerRe: open file dialog Pin
Hamid_RT4-Jun-06 20:37
Hamid_RT4-Jun-06 20:37 
GeneralRe: open file dialog Pin
iLL eFFect4-Jun-06 22:44
iLL eFFect4-Jun-06 22:44 
AnswerRe: open file dialog Pin
Viorel.4-Jun-06 20:53
Viorel.4-Jun-06 20:53 
QuestionShow struct contents in Notepad Pin
RajiRaghu4-Jun-06 19:33
RajiRaghu4-Jun-06 19:33 
AnswerRe: Show struct contents in Notepad Pin
_AnsHUMAN_ 4-Jun-06 19:43
_AnsHUMAN_ 4-Jun-06 19:43 
GeneralRe: Show struct contents in Notepad Pin
RajiRaghu4-Jun-06 19:51
RajiRaghu4-Jun-06 19:51 

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.