News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

qEditor plugins - any sources?

Started by jj2007, March 15, 2024, 07:11:51 AM

Previous topic - Next topic

jj2007

Hi everybody,

I am contemplating whether to add a plugin menu to SimpleEditor. Does anybody have sources for qEditor plugins, to help me design the interface in a compatible way?

Thanks :thup:

sinsi

The only help I could find is in the QEditor help, but that's all you need to write one.
As far as implementation goes, that was hutch's little secret  :azn:
🍺🍺🍺

jj2007

It's not difficult in principle:
- get the dll files in the dedicated plugin folder
- put them into a menu
- if user clicks, use LoadLibrary and GetProcAddress
- pass on the handle of the richedit control

But I wonder if we could use the existing qEditor plugins :cool:

Does anybody use qEditor plugins on a regular basis?

sinsi

Quick and dirty code to search The Magic Number Database for selected text.
Also used the same basic idea to search Google.
I was going to use a ml/link config/builder, but things happened  :rolleyes: and I went to the dark side.

include \asm\include\win32.inc
import kernel32,shell32,user32

.data
operation db 'open',0
searchurl db 'https://www.magnumdb.com/search?q='
searchtxt db 100h dup(0)

.code

DllEntryPoint proc public hinstDLL,fdwReason,lpReserved
        mov eax,1
        ret
DllEntryPoint endp

PiEntryPoint proc public qe
        push 2
        call qe
        invoke SendMessageA,eax,EM_GETSELTEXT,0,offset searchtxt
        invoke ShellExecuteA,0,offset operation,offset searchurl,0,0,SW_SHOWDEFAULT
        ret
PiEntryPoint endp

end DllEntryPoint
🍺🍺🍺

jj2007

Thanks, Sinsi, that looks very helpful :thumbsup:

Biterider

Hi Sinsi
Very cool... thanks for the link :thumbsup:

Biterider

daydreamer

I don't know if it's plugin, but I like the gui template  and console template "wizard"
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding