Click here to Skip to main content
15,922,630 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionFunction for Rename in Native APIs Pin
rajeevktripathi25-Apr-06 23:30
rajeevktripathi25-Apr-06 23:30 
AnswerRe: Function for Rename in Native APIs Pin
toxcct25-Apr-06 23:40
toxcct25-Apr-06 23:40 
AnswerRe: Function for Rename in Native APIs Pin
Milton Karimbekallil26-Apr-06 0:54
Milton Karimbekallil26-Apr-06 0:54 
GeneralRe: Function for Rename in Native APIs Pin
rajeevktripathi26-Apr-06 1:01
rajeevktripathi26-Apr-06 1:01 
GeneralRe: Function for Rename in Native APIs Pin
Kharfax26-Apr-06 2:11
Kharfax26-Apr-06 2:11 
GeneralRe: Function for Rename in Native APIs Pin
toxcct26-Apr-06 1:54
toxcct26-Apr-06 1:54 
AnswerRe: Function for Rename in Native APIs Pin
Ryan Binns26-Apr-06 2:22
Ryan Binns26-Apr-06 2:22 
AnswerRe: Function for Rename in Native APIs Pin
David Crow26-Apr-06 2:52
David Crow26-Apr-06 2:52 
GeneralRe: Function for Rename in Native APIs Pin
rajeevktripathi26-Apr-06 3:38
rajeevktripathi26-Apr-06 3:38 
GeneralRe: Function for Rename in Native APIs Pin
David Crow26-Apr-06 3:54
David Crow26-Apr-06 3:54 
GeneralRe: Function for Rename in Native APIs Pin
rajeevktripathi26-Apr-06 4:08
rajeevktripathi26-Apr-06 4:08 
QuestionDrag and Drop Pin
Anil_vvs25-Apr-06 23:19
Anil_vvs25-Apr-06 23:19 
QuestionMoving an ActiveX in a dialog box Pin
VogRo25-Apr-06 22:35
VogRo25-Apr-06 22:35 
QuestionShowing dialogs within a thread Pin
ilgale25-Apr-06 22:08
ilgale25-Apr-06 22:08 
AnswerRe: Showing dialogs within a thread Pin
Cedric Moonen25-Apr-06 22:11
Cedric Moonen25-Apr-06 22:11 
GeneralRe: Showing dialogs within a thread Pin
ilgale25-Apr-06 22:35
ilgale25-Apr-06 22:35 
GeneralRe: Showing dialogs within a thread Pin
Cedric Moonen25-Apr-06 22:43
Cedric Moonen25-Apr-06 22:43 
GeneralRe: Showing dialogs within a thread Pin
ilgale25-Apr-06 23:51
ilgale25-Apr-06 23:51 
AnswerRe: Showing dialogs within a thread Pin
Nibu babu thomas25-Apr-06 22:23
Nibu babu thomas25-Apr-06 22:23 
GeneralRe: Showing dialogs within a thread Pin
ilgale25-Apr-06 22:37
ilgale25-Apr-06 22:37 
GeneralRe: Showing dialogs within a thread Pin
Nibu babu thomas25-Apr-06 23:11
Nibu babu thomas25-Apr-06 23:11 
GeneralRe: Showing dialogs within a thread Pin
ilgale26-Apr-06 0:24
ilgale26-Apr-06 0:24 
Questionwhen use a button on dialog, i get trouble Pin
samfromcn25-Apr-06 22:05
samfromcn25-Apr-06 22:05 
there is a button uses IDC_BTN1 on my dialog, I write it's OnClick() function like follow code:

CMyDialog::OnBtn1Click()
{
m_bState = !m_bState; // remember whether the
// button highlights;
m_btn1.SetState(m_bState); // set the button's state
}

there is another button uses IDC_BTN2 on my dialog, the problem is when I click m_btn2, if m_btn1 still highlights, the OnClick function of m_btn1 will be called. This is not what I want.

Someone may tell me how to prevent this from happenning again.

thanks a lotCool | :cool:
AnswerRe: when use a button on dialog, i get trouble Pin
Cedric Moonen25-Apr-06 22:09
Cedric Moonen25-Apr-06 22:09 
GeneralRe: when use a button on dialog, i get trouble Pin
samfromcn25-Apr-06 22:29
samfromcn25-Apr-06 22: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.