Feature request: String constants like PROGRESS_CLASSA
should be directly usable
#2088
Labels
enhancement
New feature or request
Motivation
Currently, string constants such as the common control class names are generated as
&str
which results in duplicated frustrating to use constants:The purpose of these constants is to be able to use them directly when creating a window so they should exist in a form where they can be passed directly to
CreateWindowExA
/CreateWindowExW
, either as aPCSTR
/PCWSTR
(preferably) or as a&CStr
/&HSTRING
or[u8]
/[u16]
.Before:
After:
Drawbacks
No response
Rationale and alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: