Hi all
Newbie question
How do I access the visible property of a checkbox at runtime
I don't wish to set it to gray with BST_INDETERMINATE
I want to make it visible or invisible depending on some condition
I have searched the forumĀ :tdown
Thanks
Derry
Use the ShowWindow function :wink
Hi Tedd
ShowWindow sets a windows state - minimized,maximized,hide etc
It's not for controls
Thanks anyway
Derry
Every control: button,edit-box...is a window with some extra features, you may not realize it yet. Tedd is right :)
i also use ShowWindow to hide/show window controls.its very simple
invoke GetDlgItem,hwnd,CONTROL_ID
invoke ShowWindow,eax,SW_HIDE
I'm curious, is that how "tabs" work internally? Just shows/hides blocks of controls?
Yes, this is also truth ,Mark Jones. There are 2 ways (AFAIK) it can be accomplished: you can show/hide every control; you can show/hide dialog that can hold plenty of them... The 2nd way is my favourite one.
Thanks diablo2oo2
problem solved - i also use ShowWindow to hide/show window controls.its very simple
when you know how :U
Derry