Position the Help File From 32bit VB4 
Author Message
 Position the Help File From 32bit VB4

I've searched all avenues for help on positioning a Help File from
within a 32bit VB4 application more appropriately than the default
settings I've set while compiling the Help File. I've read about the
HELPWININFO structure and the HELP_SETWINPOS constant for the WinHelp
API call but I can't make it work.

Can anyone help?

    Dim HelpPos As HELPWININFO
    HelpPos.wStructSize = Len(HelpPos)
    HelpPos.X = 0
    HelpPos.Y = 0
    HelpPos.DX = 100
    HelpPos.DY = 100
    HelpPos.wMax = 1
    HelpPos.rgchMember = ""
    X = WinHelp(MyForm.hWnd, MyHelpFile, HELP_SETWINPOS, ByVal
HelpPos)

Thanks,

Claude



Tue, 08 Dec 1998 03:00:00 GMT  
 Position the Help File From 32bit VB4


Quote:

>    Dim HelpPos As HELPWININFO
>    HelpPos.wStructSize = Len(HelpPos)
>    HelpPos.X = 0
>    HelpPos.Y = 0
>    HelpPos.DX = 100
>    HelpPos.DY = 100
>    HelpPos.wMax = 1
>    HelpPos.rgchMember = ""
>    X = WinHelp(MyForm.hWnd, MyHelpFile, HELP_SETWINPOS, ByVal
>HelpPos)

        For starters, HELP_SETWINPOS requires an address, so HelpPos
should be ByRef.

--
Henry S. Takeuchi

Seattle, Washington (USA)



Thu, 10 Dec 1998 03:00:00 GMT  
 Position the Help File From 32bit VB4


Quote:
>I've searched all avenues for help on positioning a Help File from
>within a 32bit VB4 application more appropriately than the default
>settings I've set while compiling the Help File. I've read about the

You can specify the position when you build the help file (see
the help compiler docs) or better yet - let the file display in
its default location. Winhelp will remember where it was. If the
user repositions the window, winhelp displays it there the next
time the file is opened IF the help author didn't decide to
display the window in a fixed location.

Joe

Never underestimate the power of a WAG.

http://www.citilink.com/~jgarrick



Sat, 12 Dec 1998 03:00:00 GMT  
 Position the Help File From 32bit VB4

Quote:


>>I've searched all avenues for help on positioning a Help File from
>>within a 32bit VB4 application more appropriately than the default
>>settings I've set while compiling the Help File. I've read about the
>You can specify the position when you build the help file (see
>the help compiler docs) or better yet - let the file display in
>its default location. Winhelp will remember where it was. If the
>user repositions the window, winhelp displays it there the next
>time the file is opened IF the help author didn't decide to
>display the window in a fixed location.
>Joe
>Never underestimate the power of a WAG.

>http://www.citilink.com/~jgarrick

I know how to set defaults from within the Help File itself as you
suggest. What I was trying to do is to provide for context sensitive
positioning - placing the Help File, if possible, where it would not
interfere with the program itself ...

Claude



Mon, 14 Dec 1998 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. HELP******* VB4 32bit NOT SETTING FOCUS CORRECTLY *********HELP!

2. VB4.0EE 32bit Error writing EXE w/Rmt Supt files

3. Best Uninstall for vb4.0 32bit, free, no batch file

4. VB4 32bit STD: Getting URL File history properties

5. VBX files with VB4 32bit

6. Playing midi file with VB4(32bit)

7. Help on Update in VB4 32bit please

8. REQ: Help with RDC Control in VB4.0 32Bit

9. PLEASE HELP ! : Calling DLL in 32bit VB4.0

10. **HELP!! VB4/ 32BIT with CRYSTAL REPORTS

11. Help with ExtDeviceMode function in VB4.0 (32bit)

12. help with side scrolling vb4 32bit game

 

 
Powered by phpBB® Forum Software