Author Topic: Testing a prototype help system.  (Read 861 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5756
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Testing a prototype help system.
« on: May 31, 2018, 12:49:26 PM »
I have long wanted to escape from making HTML help files as it is a tedious task and I don't know how long Microsoft will continue to support that format so I am working on a technique written as an EXE file that is fast and no frills. Could I impose of a few folks to have a look at this prototype binary to see how it works ? I have kept it as simple as possible and currently it just has 1 menu item that has sub menu items below it.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

felipe

  • Member
  • ****
  • Posts: 926
  • Eagles are just great!
Re: Testing a prototype help system.
« Reply #1 on: May 31, 2018, 12:57:07 PM »
Looks pretty nice. I like the new "coding" style.  :t
Felipe.

zedd151

  • Member
  • ****
  • Posts: 847
Re: Testing a prototype help system.
« Reply #2 on: May 31, 2018, 02:06:50 PM »
... a technique written as an EXE file that is fast and no frills.

Plain and simple.   :t Nice clean interface, should work out well. 
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

jj2007

  • Member
  • *****
  • Posts: 8724
  • Assembler is fun ;-)
    • MasmBasic
Re: Testing a prototype help system.
« Reply #3 on: May 31, 2018, 05:43:00 PM »
It works. I may have another option - any chance to get the macro descriptions as one or more text files?

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5756
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Testing a prototype help system.
« Reply #4 on: May 31, 2018, 09:02:42 PM »
In this prototype, what you see is the text file so it should not be a problem to access.

I am having a silly problem with the message EM_AUTOURLDETECT. If I run it with the wParam set to 1 it works but I have to use the list of start names that are provided by default, the very vague documentation says that if you use a zero terminated string for the lParam and provide a list in this format "name1:name2:name3:", it builds OK but just does not work. I am using the old Richedit 3.0 which may matter.

I can get it to work as a link if I use the notation "\\whatever" but its an ugly notation and what I would like to be able to do is get the lParam list working so I could use my own design prefixes like "link:itemname", "macro:mname" etc ....

Has anyone played with this at all ?
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

FORTRANS

  • Member
  • *****
  • Posts: 1016
Re: Testing a prototype help system.
« Reply #5 on: May 31, 2018, 10:45:48 PM »
Hi,

   Not sure if older systems are of interest to you, but anyway.
Works nicely with Windows 2000.  And it did not work with
Windows 98.

... "Can't load at the desired address, and is not relocatable.
Contact your vendor to get a version that is compatible with
this version of Windows." ... "Windows cannot run this
program because it is an invalid format."

Regards,

Steve N.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5756
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Testing a prototype help system.
« Reply #6 on: May 31, 2018, 11:25:41 PM »
Thanks for the test but it should not be a problem as its a Win64 help file and the target is Win7 64 upwards.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

daydreamer

  • Member
  • ****
  • Posts: 530
  • reach for the stars
Re: Testing a prototype help system.
« Reply #7 on: June 01, 2018, 02:10:27 AM »
works nice,if you gonna make it a very big help file, a search function would be nice :t
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5756
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Testing a prototype help system.
« Reply #8 on: June 01, 2018, 02:37:53 AM »
This is prototype 2. I have tried out every combination of link in a rich edit control and this is about the best of a bad lot. I find the notation ugly but it works well and it makes the topics cross referable and capable of sub menus. Yet another quirk is you only have 2 color choices, faded blue on anything else than black and bright white on a black background. Humour is for anyone old enough to have used it is that it looks like the DOS era "Quick Help" that used to come with Microsoft development environments.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

daydreamer

  • Member
  • ****
  • Posts: 530
  • reach for the stars
Re: Testing a prototype help system.
« Reply #9 on: June 01, 2018, 03:38:51 AM »
This is prototype 2. I have tried out every combination of link in a rich edit control and this is about the best of a bad lot. I find the notation ugly but it works well and it makes the topics cross referable and capable of sub menus. Yet another quirk is you only have 2 color choices, faded blue on anything else than black and bright white on a black background. Humour is for anyone old enough to have used it is that it looks like the DOS era "Quick Help" that used to come with Microsoft development environments.
like QBASIC survival guide?
I am spoiled with a multibutton mouse, so I tried invain click "backwards" button on it,but it did only worked with clicking home,otherwise it works,but as you meantioned dull colors,GDI drawtext to he rescue?
but what do these code GUI's use when displaying multiple colors on your code use?richedit2.0 or better?
now I got curious how rich edit links work
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

felipe

  • Member
  • ****
  • Posts: 926
  • Eagles are just great!
Re: Testing a prototype help system.
« Reply #10 on: June 01, 2018, 03:54:08 AM »
Looks nice. But think i liked more the first one in blue.  :icon14:
Felipe.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5756
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Testing a prototype help system.
« Reply #11 on: June 01, 2018, 03:59:02 AM »
I agree but the link color changes to a faded blue with any other color background than black so I am stuck with it.

Magnus, its a rich edit 3.0 control and the problems with the link layout are inherent in the control design. It is not adjustable so I don't have much choice.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

Siekmanski

  • Member
  • *****
  • Posts: 1644
Re: Testing a prototype help system.
« Reply #12 on: June 01, 2018, 04:01:39 AM »
Like the second one more. Faster navigation between the pages.
Creative coders use backward thinking techniques as a strategy.

jj2007

  • Member
  • *****
  • Posts: 8724
  • Assembler is fun ;-)
    • MasmBasic
Re: Testing a prototype help system.
« Reply #13 on: June 01, 2018, 05:00:06 AM »
What about some search facilities? Check the attachment. Right-click shows the favourites.

LiaoMi

  • Member
  • ***
  • Posts: 287
Re: Testing a prototype help system.
« Reply #14 on: June 01, 2018, 05:52:13 AM »
hutch Malwarebytes says MachineLearning/Anomalous.100% - the file was deleted, the detection of the virus is clearly false, but the file must be added to exceptions  :icon_redface: