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

C / C++ / MFC

 
Question[Solved] How to show the SaveAs dialog with Excel automation? [modified] Pin
followait28-Jul-08 1:03
followait28-Jul-08 1:03 
AnswerRe: [Excel automation] How to show the SaveAs dialog? Pin
Rajesh R Subramanian28-Jul-08 1:22
professionalRajesh R Subramanian28-Jul-08 1:22 
GeneralRe: [Excel automation] How to show the SaveAs dialog? Pin
followait28-Jul-08 1:43
followait28-Jul-08 1:43 
GeneralRe: [Excel automation] How to show the SaveAs dialog? Pin
followait28-Jul-08 2:06
followait28-Jul-08 2:06 
Questionbutton enable Pin
guru moorthy.k28-Jul-08 0:51
guru moorthy.k28-Jul-08 0:51 
AnswerRe: button enable Pin
Rajesh R Subramanian28-Jul-08 0:54
professionalRajesh R Subramanian28-Jul-08 0:54 
GeneralRe: button enable Pin
guru moorthy.k28-Jul-08 0:59
guru moorthy.k28-Jul-08 0:59 
GeneralRe: button enable Pin
Rajesh R Subramanian28-Jul-08 1:14
professionalRajesh R Subramanian28-Jul-08 1:14 
What array are you talking about? Your controls should have been defined like this:
#define IDC_BUTTON1                     1000
#define IDC_BUTTON2                     1001
#define IDC_BUTTON3                     1002
#define IDC_BUTTON4                     1003
#define IDC_BUTTON5                     1004
#define IDC_BUTTON6                     1005


If they are defined sequentially, then you may run a loop like this to enable or disable them:
for(int i = IDC_BUTTON1; i<= IDC_BUTTON6, ++i)
{
   GetDlgItem(i)->EnableWindow(true);
}


Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.


Microsoft MVP - Visual C++[^]

GeneralRe: button enable Pin
guru moorthy.k28-Jul-08 1:23
guru moorthy.k28-Jul-08 1:23 
GeneralRe: button enable Pin
Rajesh R Subramanian28-Jul-08 1:31
professionalRajesh R Subramanian28-Jul-08 1:31 
AnswerRe: button enable Pin
CPallini28-Jul-08 1:35
mveCPallini28-Jul-08 1:35 
JokeOT (THHB attempt 3) Pin
Rajesh R Subramanian28-Jul-08 1:40
professionalRajesh R Subramanian28-Jul-08 1:40 
GeneralRe: OT (THHB attempt 3) Pin
CPallini28-Jul-08 1:47
mveCPallini28-Jul-08 1:47 
GeneralRe: OT (THHB attempt 3) Pin
Mark Salsbery28-Jul-08 7:34
Mark Salsbery28-Jul-08 7:34 
QuestionHow CPU uage is calulcated? Pin
vikramlinux28-Jul-08 0:25
vikramlinux28-Jul-08 0:25 
AnswerRe: How CPU uage is calulcated? Pin
_AnsHUMAN_ 28-Jul-08 0:34
_AnsHUMAN_ 28-Jul-08 0:34 
GeneralRe: How CPU uage is calulcated? Pin
vikramlinux28-Jul-08 0:35
vikramlinux28-Jul-08 0:35 
GeneralRe: How CPU uage is calulcated? Pin
toxcct28-Jul-08 0:37
toxcct28-Jul-08 0:37 
GeneralRe: How CPU uage is calulcated? Pin
vikramlinux28-Jul-08 0:41
vikramlinux28-Jul-08 0:41 
GeneralRe: How CPU uage is calulcated? PinPopular
Luc Pattyn28-Jul-08 2:15
sitebuilderLuc Pattyn28-Jul-08 2:15 
JokeRe: How CPU uage is calulcated? Pin
CPallini28-Jul-08 2:22
mveCPallini28-Jul-08 2:22 
GeneralRe: How CPU uage is calulcated? Pin
Rajesh R Subramanian28-Jul-08 2:30
professionalRajesh R Subramanian28-Jul-08 2:30 
GeneralRe: How CPU uage is calulcated? Pin
CPallini28-Jul-08 21:54
mveCPallini28-Jul-08 21:54 
JokeRe: How CPU uage is calulcated? Pin
Rajesh R Subramanian31-Jul-08 3:03
professionalRajesh R Subramanian31-Jul-08 3:03 
GeneralRe: How CPU uage is calulcated? Pin
vikramlinux28-Jul-08 2:48
vikramlinux28-Jul-08 2:48 

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.