Author Topic: Notepad style text editor.  (Read 177 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4335
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Notepad style text editor.
« on: March 22, 2017, 08:37:28 PM »
Neat minimum interface for folks who like austerity in software.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

TWell

  • Member
  • ****
  • Posts: 672
Re: Notepad style text editor.
« Reply #1 on: March 22, 2017, 11:22:50 PM »
That
Code: [Select]
GetWindowText Editgt,ByVal pstr,64
ucnt = atol(ByVal pstr)         ' MSVCRT atol fuction
could replaced with ?
Code: [Select]
ucnt = GetDlgItemInt(hDlg,100,0,0)
-- Tim

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4335
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Notepad style text editor.
« Reply #2 on: March 24, 2017, 04:01:05 AM »
Tim,

I have barely seen the guts of this app for about 8 years but from memory it was among other things showing ways to use MSVCRT in BASIC rather than dependency on the PB conversions, mainly as a code size reduction technique. Your suggestion looks like a good idea.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin: