Page 1 of 1
Windows 95 help icon on the caption of dialogs
Posted: Thu Jul 19, 2007 5:06 pm
by Otto
How to hide?
Thanks in advance
Otto
Posted: Thu Jul 19, 2007 5:44 pm
by Antonio Linares
Otto,
oDlg:lHelpicon := .F.
Posted: Fri Jul 20, 2007 5:45 am
by Otto
Hello Antonio,
is it possible to disable the helpIcon for the whole project. In this case I still use 1.95 and there the HelpIcon made problems.
Thanks in advance
Otto
Posted: Fri Jul 20, 2007 7:15 am
by Antonio Linares
Otto,
Modify the Class TDialog and make ::lHelpicon := .F. by default
Posted: Fri Jul 20, 2007 8:39 am
by Otto
Thank you.
Otto
Posted: Fri Jul 20, 2007 9:01 am
by Otto
Hello Antonio,
I tried your suggestion but with no effect.
Is there another way.
Otto
PS:
If I use a higher FW-version the controls on the screens are moved and I don’t have time to control all the screens right now. Therefore I have to disable the HelpIcon at the moment.
Posted: Fri Jul 20, 2007 10:35 am
by Antonio Linares
Otto,
Try this:
SetWindowLong( oDlg:hWnd, GWL_EXSTYLE,;
nXor( GetWindowLong( ::hWnd, GWL_EXSTYLE ), WS_EX_CONTEXTHELP ) )
Posted: Fri Jul 20, 2007 2:37 pm
by Otto
Hello Antonio,
I commanded out
//::Help95() // activates the help icon on the caption
It works. Do you think if I don't need Help95 this is ok?
Thanks in advance
Otto
Posted: Fri Jul 20, 2007 4:17 pm
by Antonio Linares
Otto,
Yes, yours is a valid solution