Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Repeated calling of a function Pin
Bob Stanneveld11-Oct-05 1:53
Bob Stanneveld11-Oct-05 1:53 
AnswerRe: Repeated calling of a function Pin
Tim Smith11-Oct-05 3:58
Tim Smith11-Oct-05 3:58 
GeneralRe: Repeated calling of a function Pin
Trollslayer11-Oct-05 4:45
mentorTrollslayer11-Oct-05 4:45 
GeneralRe: Repeated calling of a function Pin
nripun11-Oct-05 9:14
nripun11-Oct-05 9:14 
GeneralRe: Repeated calling of a function Pin
PJ Arends11-Oct-05 15:45
professionalPJ Arends11-Oct-05 15:45 
GeneralRe: Repeated calling of a function Pin
Roger Stoltz11-Oct-05 21:32
Roger Stoltz11-Oct-05 21:32 
GeneralRe: Repeated calling of a function Pin
nripun11-Oct-05 9:15
nripun11-Oct-05 9:15 
QuestionON_UPDATE_COMMAND_UI Help me !!! Pin
dharani11-Oct-05 0:26
dharani11-Oct-05 0:26 
Hi all
I have a toolbar IDR_MAINFRAME with 8 Icons . During runtime, I want one of the buttons to be disabled or grayed .
I can see the usage of ON_UPDATE_COMMAND_UI here in mainfrm.cpp

ON_COMMAND(ID_FILE_PRINT, OnIDFilePrint)
ON_UPDATE_COMMAND_UI(ID_FILE_PRINT, OnUpdateFilePrint)

here OnIDFilePrint() is called when I click on the "Print" toolbar button .
But as I am new to usage of pCmdUI etc , I dont know how to disable the 6th button - print button in this toolbar .....
Anyone to help me ...?
I need to disable this toolbar button from outside the mainfrm.cpp ...
Any help pls ....

redindian
AnswerRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
ThatsAlok11-Oct-05 0:44
ThatsAlok11-Oct-05 0:44 
GeneralRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
dharani11-Oct-05 0:49
dharani11-Oct-05 0:49 
GeneralRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
ThatsAlok11-Oct-05 0:55
ThatsAlok11-Oct-05 0:55 
GeneralRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
Mircea Puiu11-Oct-05 0:57
Mircea Puiu11-Oct-05 0:57 
AnswerRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
David Crow11-Oct-05 2:46
David Crow11-Oct-05 2:46 
AnswerRe: ON_UPDATE_COMMAND_UI Help me !!! Pin
tirucapricorn12-Oct-05 18:37
tirucapricorn12-Oct-05 18:37 
QuestionHow to get the total sectors of physical disk Pin
bghuang10-Oct-05 23:57
bghuang10-Oct-05 23:57 
AnswerRe: How to get the total sectors of physical disk Pin
Devendra Vaja11-Oct-05 0:08
Devendra Vaja11-Oct-05 0:08 
GeneralRe: How to get the total sectors of physical disk Pin
bghuang11-Oct-05 2:47
bghuang11-Oct-05 2:47 
GeneralRe: How to get the total sectors of physical disk Pin
Devendra Vaja14-Oct-05 23:36
Devendra Vaja14-Oct-05 23:36 
QuestionException while deletion -- scalar deleting destructor Pin
Divick10-Oct-05 23:50
Divick10-Oct-05 23:50 
AnswerRe: Exception while deletion -- scalar deleting destructor Pin
Roger Stoltz11-Oct-05 0:18
Roger Stoltz11-Oct-05 0:18 
GeneralRe: Exception while deletion -- scalar deleting destructor Pin
Divick11-Oct-05 4:47
Divick11-Oct-05 4:47 
GeneralRe: Exception while deletion -- scalar deleting destructor Pin
Roger Stoltz11-Oct-05 7:02
Roger Stoltz11-Oct-05 7:02 
AnswerRe: Exception while deletion -- scalar deleting destructor Pin
Tim Smith11-Oct-05 4:01
Tim Smith11-Oct-05 4:01 
GeneralRe: Exception while deletion -- scalar deleting destructor Pin
Divick11-Oct-05 21:59
Divick11-Oct-05 21:59 
GeneralRe: Exception while deletion -- scalar deleting destructor Pin
Divick12-Oct-05 1:26
Divick12-Oct-05 1:26 

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.