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

C / C++ / MFC

 
GeneralRe: Generic C code without libraries of any kind that can be run on boot Pin
Kuniva14-Jun-03 4:46
Kuniva14-Jun-03 4:46 
QuestionHow to link the related combo box?? Pin
ShigeAris14-Jun-03 2:04
ShigeAris14-Jun-03 2:04 
AnswerRe: How to link the related combo box?? Pin
valikac14-Jun-03 6:26
valikac14-Jun-03 6:26 
GeneralRe: How to link the related combo box?? Pin
ShigeAris14-Jun-03 16:02
ShigeAris14-Jun-03 16:02 
Generalembedding fonts Pin
difa13-Jun-03 23:10
difa13-Jun-03 23:10 
GeneralRe: embedding fonts Pin
basementman16-Jun-03 4:34
basementman16-Jun-03 4:34 
GeneralRe: embedding fonts Pin
Swinefeaster13-Mar-04 13:16
Swinefeaster13-Mar-04 13:16 
GeneralON_UPDATE_COMMAND_UI wont update my menu text (in dialog based application) Pin
yccheok13-Jun-03 22:20
yccheok13-Jun-03 22:20 
hi, i try to play around with ON_UPDATE_COMMAND_UI but i didn't get wat i want

i put the following macro in my message map:
===
ON_COMMAND(ID_FACEREDETECTION_DISABLE, OnFaceredetectionDisable)
ON_UPDATE_COMMAND_UI(ID_FACEREDETECTION_DISABLE, OnUpdateFaceredetectionDisable)
===

void CXFaceRecognitionDlg::OnUpdateFaceredetectionDisable(CCmdUI* pCmdUI)
{
// TODO: Add your command update UI handler code here
MessageBox("OnUpdateFaceredetectionDisable", "OnUpdateFaceredetectionDisable", MB_OK);
pCmdUI->SetText ("New Text");
}

when i click on that menu, i get the message box. however, the text of the menu won't change ??

can anyone tell me why this happen??

thank you.

regards
yccheok

p/s ya. i am developing dialog based application and i just add the menu by manually editing the resource file.
====
IDD_XFACERECOGNITION_DIALOG DIALOGEX 0, 0, 299, 263
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "FaceRecognition .NET"
MENU IDR_MENU1
===
GeneralRe: ON_UPDATE_COMMAND_UI wont update my menu text (in dialog based application) Pin
valikac14-Jun-03 6:29
valikac14-Jun-03 6:29 
GeneralRe: ON_UPDATE_COMMAND_UI wont update my menu text (in dialog based application) Pin
Michael Dunn14-Jun-03 6:32
sitebuilderMichael Dunn14-Jun-03 6:32 
GeneralRe: ON_UPDATE_COMMAND_UI wont update my menu text (in dialog based application) Pin
tfiner11-Apr-12 8:00
tfiner11-Apr-12 8:00 
GeneralAsynchronies dial up connection Pin
no_body6913-Jun-03 18:55
no_body6913-Jun-03 18:55 
GeneralRe: Asynchronies dial up connection Pin
Kuniva15-Jun-03 4:30
Kuniva15-Jun-03 4:30 
QuestionApplication causing Windows clock drift? Pin
Gavin Stark13-Jun-03 18:05
Gavin Stark13-Jun-03 18:05 
AnswerRe: Application causing Windows clock drift? Pin
John Aldrich13-Jun-03 18:46
John Aldrich13-Jun-03 18:46 
GeneralRe: Application causing Windows clock drift? Pin
Gavin Stark13-Jun-03 19:13
Gavin Stark13-Jun-03 19:13 
GeneralRe: Application causing Windows clock drift? Pin
Gavin Stark16-Jun-03 17:54
Gavin Stark16-Jun-03 17:54 
QuestionHow I can access an external MS Access database (.mdb) Pin
ATC13-Jun-03 16:48
ATC13-Jun-03 16:48 
AnswerRe: How I can access an external MS Access database (.mdb) Pin
John M. Drescher13-Jun-03 17:35
John M. Drescher13-Jun-03 17:35 
GeneralRe: How I can access an external MS Access database (.mdb) Pin
ATC14-Jun-03 4:35
ATC14-Jun-03 4:35 
GeneralHiding Mainframe without flicker Pin
pranavamhari13-Jun-03 15:47
pranavamhari13-Jun-03 15:47 
QuestionHow to get a sub-member's pointer Pin
FlyingDancer13-Jun-03 15:43
FlyingDancer13-Jun-03 15:43 
AnswerRe: How to get a sub-member's pointer Pin
John M. Drescher13-Jun-03 15:55
John M. Drescher13-Jun-03 15:55 
GeneralRe: How to get a sub-member's pointer Pin
FlyingDancer13-Jun-03 16:02
FlyingDancer13-Jun-03 16:02 
GeneralRe: How to get a sub-member's pointer Pin
Tim Smith13-Jun-03 16:21
Tim Smith13-Jun-03 16:21 

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.