Disabling buttons and checkboxes.

Disabling buttons and checkboxes.

Post by Dea » Thu, 08 Mar 2001 03:25:33



I have used the resource editor to place a button on my dialog app.  In my
InitDialog() I have performed the GetDlgItem() for the button, but cannot
find a routine that will allow me to simply enable/disable the button or
checkbox.  How can I accomplish this?

Demir

 
 
 

Disabling buttons and checkboxes.

Post by Ali » Thu, 08 Mar 2001 04:13:28


GetDlgItem(....)->EnableWindow(TRUE/FALSE);

Ali


Quote:> I have used the resource editor to place a button on my dialog app.  In my
> InitDialog() I have performed the GetDlgItem() for the button, but cannot
> find a routine that will allow me to simply enable/disable the button or
> checkbox.  How can I accomplish this?

> Demir


 
 
 

Disabling buttons and checkboxes.

Post by Dea » Fri, 09 Mar 2001 01:13:34


Thanks!  This worked just fine.


> GetDlgItem(....)->EnableWindow(TRUE/FALSE);

> Ali



> > I have used the resource editor to place a button on my dialog app.  In
my
> > InitDialog() I have performed the GetDlgItem() for the button, but
cannot
> > find a routine that will allow me to simply enable/disable the button or
> > checkbox.  How can I accomplish this?

> > Demir

 
 
 

1. How do I control a Checkbox button from another script?

Hi

I can't find out how to check if the user has checked a checkbox button
I wan't to somthing like this

if the value of checkbox "Catalogo" = true THEN
    append doc, member "Catalogo"
  end if

But this dosen't work...

Please tell me how to handle this

Thanks in advance

--

Jens Jakobsen
Graphic Designer

MultiMedia Group
Stibo Datagraphics, Denmark
S?ren Nymarks vej 3
DK 8270 H?jbjerg

Phone: +45 8939 1213
Fax: +45 8939 1112

ICQ: 1920931
HomePage: http://www.geocities.com/SoHo/Studios/1548/

2. One App Startup

3. read-only checkboxes and radio buttons changable

4. Takes long time to produce window screen

5. *** Keyboard Shortcut for Checkbox/Radio Buttons ***

6. Access violation in Windows explorer

7. failure to display checkboxes/radio buttons under advanced

8. Need TACACS server and CHAP clients

9. Transparent Checkboxes and Icons on Buttons?

10. Radio buttons acting like checkboxes

11. Adding tooltips for normal buttons/static text/checkboxes etc.

12. Disable IE "Remember password" checkbox

13. Disabled checkbox