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

HSE

  • Member
  • ****
  • Posts: 710
  • <AMD>< 7-32>
Re: Testing a prototype help system.
« Reply #15 on: June 01, 2018, 06:35:40 AM »
This is prototype 2.

Secret code?

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5484
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Testing a prototype help system.
« Reply #16 on: June 01, 2018, 10:40:23 AM »
LiaoMi,

Thanks for finding that out, its probably the EXE compressor I used.

JJ,

Looks good, its not the interface I am after but it does work well.

HSE,

> Secret code ?

Sorry but I missed that one.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

HSE

  • Member
  • ****
  • Posts: 710
  • <AMD>< 7-32>
Re: Testing a prototype help system.
« Reply #17 on: June 02, 2018, 01:41:11 AM »
> Secret code ?

Sorry but I missed that one.

 :biggrin: There isn't source code to test ideas.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5484
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Testing a prototype help system.
« Reply #18 on: June 02, 2018, 01:47:35 AM »
Ha ha, its written in my basic compiler so the source would not be much use to you. I asked some of the members to try out the idea as I need to do some documentation for the macros and I did not want to have to Make a CHM help file.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

HSE

  • Member
  • ****
  • Posts: 710
  • <AMD>< 7-32>
Re: Testing a prototype help system.
« Reply #19 on: June 02, 2018, 02:04:25 AM »
Ha ha, its written in my basic compiler so the source would not be much use to you.
No . You have 10 version and I have 9 version  :( .  But we can read the code.

Are you building a tree with text pointers?

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5484
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Testing a prototype help system.
« Reply #20 on: June 02, 2018, 09:21:00 AM »
I didn't know that, version 9 is fine and can produce high quality results.

> Are you building a tree with text pointers?

No, its much simpler than that, every topic is a string function that is identified by the rich edit link that is caught in a WM_NOTIFY message, fed through a string "Select Case" then calls the right function to display the data. The only real problem is I don't like the notation for the link in a rich edit control, it works OK but is really ugly. I am working on a version at the moment but it displays <file::ItemName> where what I really need is a link notation that works like HTML.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

jj2007

  • Member
  • *****
  • Posts: 8507
  • Assembler is fun ;-)
    • MasmBasic
Re: Testing a prototype help system.
« Reply #21 on: June 02, 2018, 10:04:30 AM »
Looks good, its not the interface I am after but it does work well.

Thanks. You can open MacroHelp.jjn in Notepad to see how the format is organised (@=...). I believe in loose searching à la Google...
Note when typing e.g. file, hitting Tab will select the results listbox; use cursor up+down to scroll through the results. Faster than a menu or even links.

daydreamer

  • Member
  • ***
  • Posts: 466
Re: Testing a prototype help system.
« Reply #22 on: June 02, 2018, 06:51:06 PM »
I have multi button mouse, does backwards /forward buttons emulate with key down messages for back/forward arrow,or is it producing some special code for mouse button down?
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5484
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Testing a prototype help system.
« Reply #23 on: June 02, 2018, 07:17:52 PM »
I am not sure what you are after, it sounds like you want other people to write dedicated software for the mouse you are using. Given that Windows has provided mouse support since the early days, 1990 and later and that every UI app since then onwards has mouse support, it sounds like either your mouse is not set up properly or it needs additional software.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

daydreamer

  • Member
  • ***
  • Posts: 466
Re: Testing a prototype help system.
« Reply #24 on: June 02, 2018, 08:34:18 PM »
I go do my own research, what makes my browser do under the hood, when it supports mouse backward/forward buttons
I am interested in learning
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5484
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Testing a prototype help system.
« Reply #25 on: June 02, 2018, 10:04:15 PM »
This is fine but I am not sure what it had to do with testing a prototype help system.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

jj2007

  • Member
  • *****
  • Posts: 8507
  • Assembler is fun ;-)
    • MasmBasic
Re: Testing a prototype help system.
« Reply #26 on: June 02, 2018, 11:18:31 PM »
The only real problem is I don't like the notation for the link in a rich edit control, it works OK but is really ugly.

Remember Lightweight Win32 & COM help? That one seems to use links as in a browser.

HSE

  • Member
  • ****
  • Posts: 710
  • <AMD>< 7-32>
Re: Testing a prototype help system.
« Reply #27 on: June 02, 2018, 11:47:46 PM »
I didn't know that, version 9 is fine and can produce high quality results.
Yes, but 10 version have little improvements that I see you are using, for example define an asm block.

every topic is a string function that is identified by the rich edit link that is caught in a WM_NOTIFY message, fed through a string "Select Case" then calls the right function to display the data.
You can set reference's color with EM_SETCHARFORMAT. Then remove (EM_REPLACESEL with nothing) ugly characters.

When Char and Mouse events you can EM_GETCHARFORMAT that position. If reference's color then take the string, and feed Select Case.
   

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5484
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Testing a prototype help system.
« Reply #28 on: June 03, 2018, 03:06:02 AM »
Text colours are easy, where I have had a problem is in the link format which only works with preset prefixes and the best of them are ugly. They work fine but look terrible. I found a RTF notation to produce a link but it had the same limitation so I am no better off. If you load and save the text as RTF you can easily change colours, fonts, font sizes and do underlining but I have not found a way to make decent looking links yet.

It is possible to isolate a word or phrase in a RTF format rich edit control but it looks like a tedious task and I don't know how reliable it would be so I doubt that it is worth pursuing.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

mineiro

  • Member
  • ***
  • Posts: 403
Re: Testing a prototype help system.
« Reply #29 on: June 03, 2018, 06:22:16 AM »
hello sir hutch;
The second example don't show links to me, I only stay on first page. I'm using wine under linux.
I remember one project that I found on net years ago, I have used that a lot, I like that approach. I'm attaching here because is need a login to download that file on other board.
I'd rather be this ambulant metamorphosis than to have that old opinion about everything