Click here to Skip to main content
15,925,602 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding items to menu bar(similar to Add to favourites) Pin
khan++20-Aug-05 0:20
khan++20-Aug-05 0:20 
GeneralRe: Adding items to menu bar(similar to Add to favourites) Pin
Tim Zorn21-Aug-05 6:09
Tim Zorn21-Aug-05 6:09 
GeneralUser Define Threads Pin
MURALI RANGANATH19-Aug-05 21:27
MURALI RANGANATH19-Aug-05 21:27 
GeneralRe: User Define Threads Pin
khan++19-Aug-05 21:42
khan++19-Aug-05 21:42 
GeneralDebugging Information Pin
MURALI RANGANATH19-Aug-05 21:18
MURALI RANGANATH19-Aug-05 21:18 
GeneralRe: Debugging Information Pin
Why_am_I_still_Anonymous19-Aug-05 23:12
sussWhy_am_I_still_Anonymous19-Aug-05 23:12 
GeneralHeader control Pin
Ali Tavakol19-Aug-05 21:13
Ali Tavakol19-Aug-05 21:13 
GeneralToolBar Button and Cursor in MFC Pin
suzie10019-Aug-05 16:20
suzie10019-Aug-05 16:20 
I am a newbie to MFC and want to do the following:

I have a button added to a toolbar. I have also added the following in my code for the function to be executed once the Button is clicked: ON_COMMAND(ID_BUTTONRUN, OnRunTests)What I want is when the button is clicked I want the button state to be disabled and the cursor to look like a Hourglass untill the OnRunTests() is completed.
I tried the :ON_UPDATE_COMMAND_UI(ID_BUTTONRUN, OnToolbarRunUpdate)
but this got executed only after the OnRunTests() completed which is not what I want.

Is there a way for me to change the cursor and the button state as soon as the OnRunTests() is entered and change it back when it is done. Any help and guidance will be appreciated.
GeneralRe: ToolBar Button and Cursor in MFC Pin
khan++19-Aug-05 20:41
khan++19-Aug-05 20:41 
GeneralRe: ToolBar Button and Cursor in MFC Pin
suzie10020-Aug-05 2:10
suzie10020-Aug-05 2:10 
Generalgui problem Pin
meiyueh19-Aug-05 15:52
meiyueh19-Aug-05 15:52 
GeneralRe: gui problem Pin
try8819-Aug-05 17:32
try8819-Aug-05 17:32 
GeneralRe: gui problem Pin
Maximilien20-Aug-05 2:23
Maximilien20-Aug-05 2:23 
GeneralRe: gui problem Pin
John R. Shaw20-Aug-05 2:47
John R. Shaw20-Aug-05 2:47 
GeneralISAPI extension in vc++ Pin
Aditya Rao19-Aug-05 15:14
Aditya Rao19-Aug-05 15:14 
QuestionHow to access Fortran program inside Visual C++? Pin
DawnLee19-Aug-05 14:54
DawnLee19-Aug-05 14:54 
AnswerRe: How to access Fortran program inside Visual C++? Pin
John R. Shaw20-Aug-05 3:24
John R. Shaw20-Aug-05 3:24 
AnswerRe: How to access Fortran program inside Visual C++? Pin
David Crow20-Aug-05 16:02
David Crow20-Aug-05 16:02 
QuestionHow to destroy a dialog after timeout Pin
mamtz19-Aug-05 13:25
mamtz19-Aug-05 13:25 
AnswerRe: How to destroy a dialog after timeout Pin
try8819-Aug-05 17:23
try8819-Aug-05 17:23 
AnswerRe: How to destroy a dialog after timeout Pin
123ivan12320-Aug-05 3:53
123ivan12320-Aug-05 3:53 
AnswerRe: How to destroy a dialog after timeout Pin
Ravi Bhavnani20-Aug-05 4:16
professionalRavi Bhavnani20-Aug-05 4:16 
Generalruntime error, abnormal program termination Pin
valerie9919-Aug-05 12:21
valerie9919-Aug-05 12:21 
GeneralRe: runtime error, abnormal program termination Pin
Saurabh.Garg19-Aug-05 15:51
Saurabh.Garg19-Aug-05 15:51 
GeneralRe: runtime error, abnormal program termination Pin
John R. Shaw20-Aug-05 3:45
John R. Shaw20-Aug-05 3:45 

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.