Windows 95 help icon on the caption of dialogs

Windows 95 help icon on the caption of dialogs

Postby Otto » Thu Jul 19, 2007 5:06 pm

How to hide?
Thanks in advance
Otto
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Postby Antonio Linares » Thu Jul 19, 2007 5:44 pm

Otto,

oDlg:lHelpicon := .F.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42098
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Otto » Fri Jul 20, 2007 5:45 am

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
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Postby Antonio Linares » Fri Jul 20, 2007 7:15 am

Otto,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42098
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Otto » Fri Jul 20, 2007 8:39 am

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

Postby Otto » Fri Jul 20, 2007 9:01 am

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
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Postby Antonio Linares » Fri Jul 20, 2007 10:35 am

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

Postby Otto » Fri Jul 20, 2007 2:37 pm

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
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Postby Antonio Linares » Fri Jul 20, 2007 4:17 pm

Otto,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42098
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 4 guests

cron