Page 1 of 1

Opening of PB Help file via IDE

Posted: Wed Apr 27, 2016 12:02 pm
by Thunder93
Would be nice if pressing F1 to bring up the PB help file, that it would be opened in full screen. Or at least give the option to toggle with in IDE options so that I can see the entire content without needing keep clicking on screen maximization or messing with the horizontal and vertical bars in the help file.

Re: Opening of PB Help file via IDE

Posted: Wed Apr 27, 2016 12:03 pm
by Dude
It does already. My PureBasic help file always opens maximized, and has for years.

Re: Opening of PB Help file via IDE

Posted: Wed Apr 27, 2016 12:09 pm
by Thunder93
With Windows 7 x64, the both PB versions x86 and x64, never showed PB help in true full screen. With Windows 10 x64, I'm still with the same issue.

Re: Opening of PB Help file via IDE

Posted: Wed Jul 20, 2016 9:00 am
by Dude
Strange... I'm running Windows 7 64-bit, and PureBasic x86 always opens the Help file maximized for me. All you do is maximize it when open, and PureBasic remembers that state for it. I just tested it and that behavior is confirmed: the Help file is opened in the same size it was when you close PureBasic.

Re: Opening of PB Help file via IDE

Posted: Wed Jul 20, 2016 10:38 am
by Thunder93
When the PB Help opens, I'll manually maximize it and exit out. When I open it again, it opens up back to the initial non-maximized state.

Not far enough to the left, not far enough to the right. Goes below the Windows Taskbar.

If I customize the help file to a size less than it appears with, and exit, yes it'll remember that. However the x position isn't remembered, It's over to the right a bit. If I move the smaller help window to the far right and exit, it's over to the left a bit.

of course ... the maximized state never is remembered.

I've remembered these problems with the help file from back when I was running Windows 7.

The PC monitor is 23''.

A clean-install of Windows 10 was performed, so no way an issue was carried over from Windows 7.

Re: Opening of PB Help file via IDE

Posted: Wed Jul 20, 2016 11:09 am
by Thunder93
Alright, so it's not just specific to PB.

Also using ShellExecute API with #SW_SHOWNORMAL parameter, same experiences.

For maximized state #SW_SHOWMAXIMIZED will have to be used.

I hope Fred could offer native control to choose the mode to run its help file.

Re: Opening of PB Help file via IDE

Posted: Wed Jul 27, 2016 9:51 am
by HeX0R
chm files do handle their positions on their own usualy, maybe your hh.dat get somehow corrupted?
Try to rename or move it, you can find it here:
%APPDATA%\Microsoft\HTML Help\hh.dat

Re: Opening of PB Help file via IDE

Posted: Wed Jul 27, 2016 11:32 am
by Thunder93
HTML Help database file isn't corrupted. It'll save CHM Help files dimensions up-to a certain point, won't save maximized state and it won't save to the very left of the screen, and to the very right of the screen.

I'm running under Windows 10, and I've had the exact same experiences running under Windows 7. When I've installed Windows 10, I performed a 'clean install'. Meaning no possible Windows 7 issues was carried over to Windows 10.