Click here to Skip to main content
15,919,121 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Thread Question Pin
James R. Twine27-Feb-07 1:16
James R. Twine27-Feb-07 1:16 
GeneralRe: Thread Question Pin
Programm3r27-Feb-07 1:25
Programm3r27-Feb-07 1:25 
AnswerRe: Thread Question Pin
Newbie0027-Feb-07 1:19
Newbie0027-Feb-07 1:19 
GeneralRe: Thread Question Pin
Programm3r27-Feb-07 1:27
Programm3r27-Feb-07 1:27 
AnswerRe: Thread Question Pin
Nibu babu thomas27-Feb-07 3:37
Nibu babu thomas27-Feb-07 3:37 
GeneralRe: Strange Font bolding Pin
super_ttd27-Feb-07 0:09
super_ttd27-Feb-07 0:09 
GeneralRe: Strange Font bolding Pin
Nibu babu thomas27-Feb-07 0:12
Nibu babu thomas27-Feb-07 0:12 
GeneralRe: Strange Font bolding Pin
super_ttd27-Feb-07 21:55
super_ttd27-Feb-07 21:55 
thanks Nibu Babu Thomas Wink | ;)

i tried it at home yesterday evening, and effectively, that's working as expected.

i have a subsidiary question. do you know how I could bold the MenuItem in a PopupMenu created with the following :
void CtestDlg::OnPopupMenu()
{
    CMenu popup;
    if (popup.CreatePopupMenu())
    {
        popup.AppendMenu(MF_STRING, 1, "Test Titre");
        popup.AppendMenu(MF_SEPARATOR);
        popup.AppendMenu(MF_STRING, 10, "menuItem1");
        popup.AppendMenu(MF_STRING, 11, "menuItem2");
        popup.AppendMenu(MF_STRING, 12, "menuItem3");
        popup.EnableMenuItem(1, MF_GRAYED);    // I'd like to bold it too... 
 
        CRect rect;
        m_popupMenu.GetWindowRect(&rect);
        popup.TrackPopupMenu(TPM_LEFTALIGN | TPM_RIGHTBUTTON, rect.right+1, rect.top, AfxGetMainWnd());
        popup.DestroyMenu();
    }
}

GeneralRe: Strange Font bolding Pin
Nibu babu thomas28-Feb-07 17:24
Nibu babu thomas28-Feb-07 17:24 
GeneralRe: Strange Font bolding Pin
super_ttd28-Feb-07 21:30
super_ttd28-Feb-07 21:30 
GeneralRe: Strange Font bolding Pin
Nibu babu thomas28-Feb-07 21:36
Nibu babu thomas28-Feb-07 21:36 
Questioni want to know when a button is clicked but it was "DISABLED" Pin
Ing.Raiz8227-Feb-07 0:08
Ing.Raiz8227-Feb-07 0:08 
AnswerRe: i want to know when a button is clicked but it was "DISABLED" Pin
prasad_som27-Feb-07 0:15
prasad_som27-Feb-07 0:15 
AnswerRe: i want to know when a button is clicked but it was "DISABLED" Pin
James R. Twine27-Feb-07 1:14
James R. Twine27-Feb-07 1:14 
AnswerRe: i want to know when a button is clicked but it was "DISABLED" Pin
Ing.Raiz8227-Feb-07 4:01
Ing.Raiz8227-Feb-07 4:01 
QuestionDestroy View Pin
baerten27-Feb-07 0:04
baerten27-Feb-07 0:04 
AnswerRe: Destroy View Pin
prasad_som27-Feb-07 1:38
prasad_som27-Feb-07 1:38 
GeneralRe: Destroy View Pin
baerten27-Feb-07 1:51
baerten27-Feb-07 1:51 
JokeDamn Pin
baerten27-Feb-07 4:02
baerten27-Feb-07 4:02 
GeneralRe: Damn Pin
prasad_som27-Feb-07 4:16
prasad_som27-Feb-07 4:16 
GeneralRe: Damn Pin
baerten27-Feb-07 21:02
baerten27-Feb-07 21:02 
GeneralRe: Damn Pin
prasad_som28-Feb-07 1:20
prasad_som28-Feb-07 1:20 
Questionchanging font size of cstatic ctrl. How ? Pin
sakthimuthu27-Feb-07 0:03
sakthimuthu27-Feb-07 0:03 
AnswerRe: changing font size of cstatic ctrl. How ? Pin
Hamid_RT27-Feb-07 0:38
Hamid_RT27-Feb-07 0:38 
AnswerRe: changing font size of cstatic ctrl. How ? Pin
prasad_som27-Feb-07 1:28
prasad_som27-Feb-07 1:28 

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.