News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Button properties

Started by george999, January 07, 2008, 11:41:21 PM

Previous topic - Next topic

george999

How to set a button to invisible and back.What api function I must call?

ragdog

hi

try this to visible button and show button

invoke GetDlgItem,hWnd,100 ;< button id
mov hButton,eax
invoke ShowWindow,hButton,SW_HIDE

invoke ShowWindow,hButton,SW_SHOW

ragdog

george999


george999


ragdog

invoke EnableWindow,hbutton,TRUE  ;< enable
invoke EnableWindow,hbutton,FALSE ;< disable