How can I find what the inbuilt constants refer to? There does not seem to be anything in the help file apart from the #PB ones. There are lots of others . I did find the Scintilla ones on the Scintilla website but what about the #EM_ constants that refer to the editor gadget. Is there a list somewhere?
Thanks for any help.
Inbuilt Constants
Re: Inbuilt Constants
EM_* is a Windows API message for edit controls. If you Google the constant (without the "#") you'll find it in the msdn library. The scheme is mostly easy to understand: name of control (listview=LV, checkbox=CB...), type of constant (message=M, notification=N, style=S...), underscore and a name. #LVM_ARRANGE is a listview-message (windows listview is purebasic listicon) that arranges the items.
This does not explain all constants. As I said, you can Google them, without the hashtag.
This does not explain all constants. As I said, you can Google them, without the hashtag.
Good morning, that's a nice tnetennba!
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Re: Inbuilt Constants
Goto PureBasic menu: Tools > Structure Viewer... In it there is a "Constants" tab which contains all the natively known constants and their values.
Proud supporter of PB! * Musician * C64/6502 Freak
Re: Inbuilt Constants
Cool, I never knew that. Thanks!jacdelad wrote: Mon Jul 26, 2021 5:50 amThe scheme is mostly easy to understand: name of control (listview=LV, checkbox=CB...), type of constant (message=M, notification=N, style=S...), underscore and a name.