Click here to Skip to main content
15,905,068 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thanks to all concerned somehow I got my source labeled variable.cpp.c Pin
Nemanja Trifunovic11-Sep-09 8:48
Nemanja Trifunovic11-Sep-09 8:48 
GeneralRe: [C++ Error] exception(15): E2141 Declaration syntax error Pin
UKM_Student11-Sep-09 8:11
UKM_Student11-Sep-09 8:11 
GeneralThanks UKM_Student I'm looking at code blocks right now Pin
gordon305611-Sep-09 8:37
gordon305611-Sep-09 8:37 
QuestionOdd bug in CMFCToolbarComboBoxButton class Pin
Santanu Lahiri11-Sep-09 5:17
Santanu Lahiri11-Sep-09 5:17 
AnswerRe: Odd bug in CMFCToolbarComboBoxButton class Pin
PatrikE20-Oct-09 4:42
PatrikE20-Oct-09 4:42 
GeneralRe: Odd bug in CMFCToolbarComboBoxButton class [modified] Pin
Santanu Lahiri20-Oct-09 10:00
Santanu Lahiri20-Oct-09 10:00 
AnswerSOLUTION!!: Odd bug in CMFCToolbarComboBoxButton class Pin
PatrikE20-Oct-09 5:27
PatrikE20-Oct-09 5:27 
GeneralRe: SOLUTION!!: Odd bug in CMFCToolbarComboBoxButton class Pin
Santanu Lahiri20-Oct-09 10:07
Santanu Lahiri20-Oct-09 10:07 
Yes, a code sample in the MSDN website gives details on how to identify the control that you are using.

CMFCToolBarComboBoxButton* pSrcCombo = NULL;

CObList listButtons;
if (CMFCToolBar::GetCommandButtons(ID_EDT_FIND_NDC, listButtons) > 0)
{
    for (POSITION posCombo = listButtons.GetHeadPosition();
        pSrcCombo == NULL && posCombo != NULL;)
    {
        CMFCToolBarComboBoxButton* pCombo = DYNAMIC_DOWNCAST(CMFCToolBarComboBoxButton, listButtons.GetNext(posCombo));

        if (pCombo != NULL && CMFCToolBar::IsLastCommandFromButton(pCombo))
        {
            pSrcCombo = pCombo;
        }
    }
}

QuestionHow to unlock locked file using Win32 API? [modified] Pin
JoeSchmoe00711-Sep-09 4:55
JoeSchmoe00711-Sep-09 4:55 
QuestionRe: How to unlock locked file using Win32 API? Pin
David Crow11-Sep-09 5:17
David Crow11-Sep-09 5:17 
AnswerFile is still locked after application is shut down. Pin
JoeSchmoe00711-Sep-09 5:30
JoeSchmoe00711-Sep-09 5:30 
GeneralRe: File is still locked after application is shut down. Pin
David Crow11-Sep-09 5:58
David Crow11-Sep-09 5:58 
GeneralRe: File is still locked after application is shut down. Pin
Nemanja Trifunovic11-Sep-09 8:08
Nemanja Trifunovic11-Sep-09 8:08 
AnswerRe: How to unlock locked file using Win32 API? Pin
Stuart Dootson11-Sep-09 21:37
professionalStuart Dootson11-Sep-09 21:37 
AnswerRe: How to unlock locked file using Win32 API? Pin
kilt14-Sep-09 2:21
kilt14-Sep-09 2:21 
QuestionBeginner's Question 2 Pin
UKM_Student11-Sep-09 4:37
UKM_Student11-Sep-09 4:37 
AnswerRe: Beginner's Question 2 Pin
David Crow11-Sep-09 4:41
David Crow11-Sep-09 4:41 
GeneralRe: Beginner's Question 2 Pin
UKM_Student11-Sep-09 4:44
UKM_Student11-Sep-09 4:44 
GeneralRe: Beginner's Question 2 Pin
David Crow11-Sep-09 4:48
David Crow11-Sep-09 4:48 
GeneralRe: Beginner's Question 2 Pin
UKM_Student11-Sep-09 4:56
UKM_Student11-Sep-09 4:56 
GeneralRe: Beginner's Question 2 Pin
UKM_Student11-Sep-09 4:55
UKM_Student11-Sep-09 4:55 
GeneralRe: Beginner's Question 2 Pin
David Crow11-Sep-09 5:13
David Crow11-Sep-09 5:13 
GeneralRe: Beginner's Question 2 Pin
UKM_Student11-Sep-09 5:23
UKM_Student11-Sep-09 5:23 
GeneralRe: Beginner's Question 2 Pin
Richard MacCutchan11-Sep-09 5:28
mveRichard MacCutchan11-Sep-09 5:28 
GeneralRe: Beginner's Question 2 Pin
UKM_Student13-Sep-09 4:34
UKM_Student13-Sep-09 4:34 

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.