Click here to Skip to main content
15,890,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding overrides to OnOK, OnInitDialog Pin
al250030-Aug-07 20:05
al250030-Aug-07 20:05 
AnswerRe: Adding overrides to OnOK, OnInitDialog Pin
prasad_som30-Aug-07 20:37
prasad_som30-Aug-07 20:37 
AnswerRe: Adding overrides to OnOK, OnInitDialog Pin
JudyL_MD31-Aug-07 2:20
JudyL_MD31-Aug-07 2:20 
QuestionHow to create a dialog box at Runtime with controls? Pin
vikramkarthik30-Aug-07 18:33
vikramkarthik30-Aug-07 18:33 
AnswerRe: How to create a dialog box at Runtime with controls? Pin
Nishad S30-Aug-07 18:49
Nishad S30-Aug-07 18:49 
QuestionHow to set the radio background transparent in dialog [modified] Pin
fanchat30-Aug-07 18:10
fanchat30-Aug-07 18:10 
QuestionWiFi scanner Pin
Archyami30-Aug-07 17:24
Archyami30-Aug-07 17:24 
QuestionSpin Control Problem Pin
alberthyc30-Aug-07 15:49
alberthyc30-Aug-07 15:49 
void CIODlg::OnDeltaposSpin1(NMHDR *pNMHDR, LRESULT *pResult)
{
LPNMUPDOWN pNMUpDown = reinterpret_cast<LPNMUPDOWN>(pNMHDR);
// TODO: Add your control notification handler code here
UpdateData(TRUE);
m_Edit_PeriodCount=pNMUpDown->iPos;//or m_Edit_PeriodCount=m_Spin_Count.GetPos32();
m_Slider_Data[0].SetPos(m_Edit_PeriodCount);
UpdateData(FALSE);
*pResult = 0;
}

m_Edit_Period is control int variable of edit box.
the value does change on the click of spin control, but somehow the action seems to "lag" by one click.

for example, the initialized value in edit box is 0;
i click the spin up, nothing change,
i click UP the second time, the value change to 1, if i keep clicking up, no problem.
if i then click down once,the value still increase;
if i click down for the second time, the value start to decrease.
so the action seems to lag by one click.

What's the cause?
thx
AnswerRe: Spin Control Problem Pin
Russell'30-Aug-07 22:08
Russell'30-Aug-07 22:08 
Questionbrothers and sisters,help me! Pin
youbo30-Aug-07 15:35
youbo30-Aug-07 15:35 
AnswerRe: brothers and sisters,help me! Pin
Russell'30-Aug-07 22:19
Russell'30-Aug-07 22:19 
QuestionFilling Dialog Box from .txt file Pin
dtagliente30-Aug-07 12:04
dtagliente30-Aug-07 12:04 
QuestionRe: Filling Dialog Box from .txt file Pin
Mark Salsbery30-Aug-07 12:23
Mark Salsbery30-Aug-07 12:23 
AnswerRe: Filling Dialog Box from .txt file Pin
Iain Clarke, Warrior Programmer30-Aug-07 12:26
Iain Clarke, Warrior Programmer30-Aug-07 12:26 
AnswerRe: Filling Dialog Box from .txt file Pin
Mark Salsbery30-Aug-07 12:56
Mark Salsbery30-Aug-07 12:56 
Questionclistcrtl OnUpdate() [modified] Pin
shiftwik30-Aug-07 10:31
shiftwik30-Aug-07 10:31 
AnswerRe: clistcrtl OnUpdate() Pin
David Crow30-Aug-07 10:38
David Crow30-Aug-07 10:38 
QuestionRe: clistcrtl OnUpdate() Pin
David Crow31-Aug-07 3:08
David Crow31-Aug-07 3:08 
Questionfailed to identify calling batch script Pin
Jack Rong30-Aug-07 9:22
Jack Rong30-Aug-07 9:22 
QuestionAssigning port number to TDI server code Pin
barun_iit30-Aug-07 8:50
barun_iit30-Aug-07 8:50 
QuestionMFC Displaying Text Pin
barbarini30-Aug-07 6:15
barbarini30-Aug-07 6:15 
AnswerRe: MFC Displaying Text Pin
hxhl9530-Aug-07 6:22
hxhl9530-Aug-07 6:22 
GeneralRe: MFC Displaying Text Pin
barbarini30-Aug-07 6:25
barbarini30-Aug-07 6:25 
QuestionRe: MFC Displaying Text Pin
hxhl9530-Aug-07 6:28
hxhl9530-Aug-07 6:28 
GeneralRe: MFC Displaying Text Pin
Dennis Gourjii30-Aug-07 6:29
Dennis Gourjii30-Aug-07 6:29 

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.