PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: AfxInputBox  (Read 1645 times)

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 9287
  • Windows 10
    • PlanetSquires Software
AfxInputBox
« on: September 01, 2017, 09:53:30 PM »

Another gem of a function!

It's found in the CWindow.inc source code file. Great versatile quick way to get input from the user. Localized button captions, unicode aware, prompt, caption, positioning....

I am using it in WinFBE to prompt the user for a new name for a Theme.

Awesome.
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Bumblebee

  • Little Newbie
  • *
  • Posts: 42
Re: AfxInputBox
« Reply #1 on: Today at 01:49:45 PM »

I couldn't find it in the help file, I'm glad I found it here.
Logged

Bumblebee

  • Little Newbie
  • *
  • Posts: 42
Re: AfxInputBox
« Reply #3 on: Today at 02:14:55 PM »

Thanks. Bookmarked :)

Edit: When x,y are set to zero, the input box can be briefly seen in the top left corner of the screen, before it is centered.
For the time being, I entered a 1/3,1/2 form position, and this avoids this small issue.
« Last Edit: Today at 02:26:58 PM by Bumblebee »
Logged