1. checkbox

------=_NextPart_000_00A5_01BFD7D3.0F3276E0
        charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

how do i set checkbox in dialog to be checked when dialog is created?

with WM_INITDIALOG message cant do, because checkbox then doesnt exist =
yet, it is 0, but dialog exists=3D59

do i have to set timer or what?

these windows dialogs and stuff are so hard to get them working right!
with these stuff you loose time, instead you would be doing on your real =
project, specific, not those general things, that would have to work =
anyway already

------=_NextPart_000_00A5_01BFD7D3.0F3276E0
        charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-2" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>how do i set checkbox in dialog to be =
checked when=20
dialog is created?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>with WM_INITDIALOG message cant do, =
because=20
checkbox then doesnt exist yet, it is 0, but dialog =
exists=3D59</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>do i have to set timer or =
what?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>these windows dialogs and stuff are so =
hard to get=20
them working right!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>with these stuff you loose time, =
instead you would=20
be doing on your real project, specific, not those general things, that =
would=20

------=_NextPart_000_00A5_01BFD7D3.0F3276E0--

new topic     » topic index » view message » categorize

2. Re: checkbox

I assume you're not using win32lib, however in this it's just:
        -- toggle the control
        ok = sendMessage( id, BM_SETCHECK, flag, 0 )
    end if

>> how do i set checkbox in dialog to be checked when dialog is created?

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu