Windows Constants
-
- Posts: 29
- Joined: Thu 05 Apr 2018, 21:41
Windows Constants
Is there a schedule of windows and windows controls constants for use with BB4W. In particular what are the constants for ES_WANTRETURN and ES_MULTILINE?
Re: Windows Constants
On the principle of teaching a man to fish, do you know about the "Add windows constants" utility? It's probably already installed (look in the "utilites" menu on the IDE), but if not, you can install it (it's in the ADDINS folder). Simpy put the constants in your program, run the utility, and it will add appropriate assignments at the beginning. Here's a two line example to answer your question, after running the utility:
Alternatively there are sites on the web which list all/most of these constants, so you should be able to google it pretty easily...
Best wishes,
D
Code: Select all
ES_MULTILINE = 4
ES_WANTRETURN = 4096
a%=ES_WANTRETURN
b%=ES_MULTILINE
Best wishes,
D
-
- Posts: 29
- Joined: Thu 05 Apr 2018, 21:41
Re: Windows Constants
I was fishing in the wrong place!
I never thought to look in the Utilities on the IDE.
Thank you very much. Problem solved.
I never thought to look in the Utilities on the IDE.
Thank you very much. Problem solved.