Windows 95 help icon on the caption of dialogs

Post Reply
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Windows 95 help icon on the caption of dialogs

Post by Otto »

How to hide?
Thanks in advance
Otto
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Otto,

oDlg:lHelpicon := .F.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Otto,

Modify the Class TDialog and make ::lHelpicon := .F. by default
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post by Otto »

Thank you.
Otto
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post 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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Otto,

Try this:

SetWindowLong( oDlg:hWnd, GWL_EXSTYLE,;
nXor( GetWindowLong( ::hWnd, GWL_EXSTYLE ), WS_EX_CONTEXTHELP ) )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Otto,

Yes, yours is a valid solution :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply